diff --git a/OsmAnd/res/drawable/context_menu_controller_bg_dark.xml b/OsmAnd/res/drawable/context_menu_controller_bg_dark.xml new file mode 100644 index 0000000000..703b0f414f --- /dev/null +++ b/OsmAnd/res/drawable/context_menu_controller_bg_dark.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/context_menu_controller_bg_light.xml b/OsmAnd/res/drawable/context_menu_controller_bg_light.xml new file mode 100644 index 0000000000..703b0f414f --- /dev/null +++ b/OsmAnd/res/drawable/context_menu_controller_bg_light.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/map_context_menu_fragment.xml b/OsmAnd/res/layout/map_context_menu_fragment.xml index b1667436ee..e369123cc8 100644 --- a/OsmAnd/res/layout/map_context_menu_fragment.xml +++ b/OsmAnd/res/layout/map_context_menu_fragment.xml @@ -163,25 +163,30 @@ android:layout_marginTop="@dimen/context_menu_buttons_top_margin" android:clickable="true" android:minHeight="@dimen/context_menu_action_buttons_h" - android:orientation="vertical" + android:orientation="horizontal" android:paddingBottom="@dimen/context_menu_buttons_padding_bottom" - android:paddingLeft="62dp" - android:paddingRight="2dp" android:visibility="gone" tools:visibility="visible"> + android:layout_marginLeft="@dimen/context_menu_padding_margin_medium" + android:layout_marginRight="@dimen/context_menu_padding_margin_medium" + android:id="@+id/title_button_view" + android:background="?attr/ctx_menu_controller_bg" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="@dimen/context_menu_controller_height" + android:orientation="horizontal"> -