Fix the "map_context_menu_fragment" layout formatting
(cherry picked from commit 2624deb
)
This commit is contained in:
parent
ee778a686c
commit
65153ba598
1 changed files with 76 additions and 76 deletions
|
@ -99,21 +99,21 @@
|
||||||
android:paddingTop="3dp">
|
android:paddingTop="3dp">
|
||||||
|
|
||||||
<net.osmand.plus.widgets.TextViewEx
|
<net.osmand.plus.widgets.TextViewEx
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:id="@+id/nearby_routes_within_text_view"
|
android:id="@+id/nearby_routes_within_text_view"
|
||||||
style="@style/TextAppearance.ContextMenuSubtitle"
|
style="@style/TextAppearance.ContextMenuSubtitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginEnd="@dimen/context_menu_padding_margin_small"
|
android:layout_marginEnd="@dimen/context_menu_padding_margin_small"
|
||||||
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
||||||
android:textSize="@dimen/default_sub_text_size"
|
android:textSize="@dimen/default_sub_text_size"
|
||||||
osmand:typeface="@string/font_roboto_medium"/>
|
osmand:typeface="@string/font_roboto_medium"/>
|
||||||
|
|
||||||
<GridView
|
<GridView
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:id="@+id/transport_stop_nearby_routes_grid"
|
android:id="@+id/transport_stop_nearby_routes_grid"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
android:columnWidth="@dimen/context_menu_transport_grid_item_width"
|
android:columnWidth="@dimen/context_menu_transport_grid_item_width"
|
||||||
android:horizontalSpacing="@dimen/context_menu_transport_grid_spacing"
|
android:horizontalSpacing="@dimen/context_menu_transport_grid_spacing"
|
||||||
android:numColumns="auto_fit"
|
android:numColumns="auto_fit"
|
||||||
|
@ -133,10 +133,10 @@
|
||||||
android:layout_marginTop="@dimen/context_menu_padding_margin_tiny"
|
android:layout_marginTop="@dimen/context_menu_padding_margin_tiny"
|
||||||
android:gravity="top"
|
android:gravity="top"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingTop="3dp"
|
|
||||||
android:paddingBottom="3dp"
|
android:paddingBottom="3dp"
|
||||||
android:paddingLeft="@dimen/context_menu_padding_margin_default"
|
android:paddingLeft="@dimen/context_menu_padding_margin_default"
|
||||||
android:paddingRight="@dimen/context_menu_padding_margin_default">
|
android:paddingRight="@dimen/context_menu_padding_margin_default"
|
||||||
|
android:paddingTop="3dp">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/additional_info_row"
|
android:id="@+id/additional_info_row"
|
||||||
|
@ -161,8 +161,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="top"
|
android:layout_gravity="top"
|
||||||
android:paddingTop="1dp"
|
|
||||||
android:paddingRight="@dimen/context_menu_padding_margin_small"
|
android:paddingRight="@dimen/context_menu_padding_margin_small"
|
||||||
|
android:paddingTop="1dp"
|
||||||
tools:src="@drawable/ic_action_opening_hour_16"/>
|
tools:src="@drawable/ic_action_opening_hour_16"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -723,13 +723,13 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="left"
|
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:ellipsize="end"
|
||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
|
android:scaleType="center"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
|
android:textColor="@color/abc_primary_text_material_dark"
|
||||||
|
android:textSize="@dimen/abc_text_size_large_material"
|
||||||
tools:text="Toolbar"
|
tools:text="Toolbar"
|
||||||
tools:visibility="visible"/>
|
tools:visibility="visible"/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue