From 2624debd9fc0abf2315ee7064f3a5be914589c57 Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Wed, 1 Aug 2018 12:35:08 +0300 Subject: [PATCH] Fix the "map_context_menu_fragment" layout formatting --- .../res/layout/map_context_menu_fragment.xml | 152 +++++++++--------- 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a/OsmAnd/res/layout/map_context_menu_fragment.xml b/OsmAnd/res/layout/map_context_menu_fragment.xml index bfb51ff362..4c07a1e64e 100644 --- a/OsmAnd/res/layout/map_context_menu_fragment.xml +++ b/OsmAnd/res/layout/map_context_menu_fragment.xml @@ -99,26 +99,26 @@ android:paddingTop="3dp"> + osmand:typeface="@string/font_roboto_medium"/> + android:visibility="gone"/> - - - - - - + android:layout_marginBottom="@dimen/context_menu_direction_margin" + android:layout_marginTop="@dimen/context_menu_padding_margin_tiny" + android:gravity="top" + android:orientation="horizontal" + android:paddingBottom="3dp" + android:paddingLeft="@dimen/context_menu_padding_margin_default" + android:paddingRight="@dimen/context_menu_padding_margin_default" + android:paddingTop="3dp"> - - - - - - - + android:layout_height="wrap_content"> + + + + + + + + + + + + + + + - - - @@ -723,13 +723,13 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" - android:scaleType="center" - android:textColor="@color/abc_primary_text_material_dark" - android:textSize="@dimen/abc_text_size_large_material" android:ellipsize="end" android:lines="1" android:maxLines="1" + android:scaleType="center" android:singleLine="true" + android:textColor="@color/abc_primary_text_material_dark" + android:textSize="@dimen/abc_text_size_large_material" tools:text="Toolbar" tools:visibility="visible"/>