Merge pull request #6098 from osmandapp/UiImprovement
Fix items height with big system text size
This commit is contained in:
commit
ad3384d4b2
9 changed files with 71 additions and 54 deletions
|
@ -96,10 +96,11 @@
|
|||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:id="@+id/FromLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="@dimen/list_item_height"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:minHeight="@dimen/list_item_height"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
|
@ -155,10 +156,11 @@
|
|||
android:focusable="false"/>
|
||||
|
||||
<LinearLayout
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:id="@+id/ViaLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/list_item_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:minHeight="@dimen/list_item_height"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
|
@ -209,10 +211,11 @@
|
|||
android:focusable="false"/>
|
||||
|
||||
<LinearLayout
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:id="@+id/ToLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="@dimen/list_item_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:minHeight="@dimen/list_item_height"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
|
@ -281,7 +284,7 @@
|
|||
|
||||
<LinearLayout
|
||||
android:id="@+id/RouteInfoControls"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
|
|
@ -250,10 +250,11 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/title_button_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/context_menu_controller_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_weight="1"
|
||||
android:minHeight="@dimen/context_menu_controller_height"
|
||||
android:orientation="horizontal"
|
||||
tools:background="?attr/ctx_menu_controller_bg">
|
||||
|
||||
|
@ -285,10 +286,11 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/title_button_right_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/context_menu_controller_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_weight="1"
|
||||
android:minHeight="@dimen/context_menu_controller_height"
|
||||
android:orientation="horizontal"
|
||||
tools:background="?attr/ctx_menu_controller_bg">
|
||||
|
||||
|
@ -320,14 +322,15 @@
|
|||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/download_button_left_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/context_menu_controller_height"
|
||||
android:layout_marginLeft="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_weight="1"
|
||||
tools:background="?attr/ctx_menu_controller_bg">
|
||||
<LinearLayout
|
||||
android:id="@+id/download_button_left_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_weight="1"
|
||||
android:minHeight="@dimen/context_menu_controller_height"
|
||||
tools:background="?attr/ctx_menu_controller_bg">
|
||||
|
||||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:id="@+id/download_button_left"
|
||||
|
@ -345,14 +348,15 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/download_button_right_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/context_menu_controller_height"
|
||||
android:layout_marginLeft="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_weight="1"
|
||||
tools:background="?attr/ctx_menu_controller_bg">
|
||||
<LinearLayout
|
||||
android:id="@+id/download_button_right_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_weight="1"
|
||||
android:minHeight="@dimen/context_menu_controller_height"
|
||||
tools:background="?attr/ctx_menu_controller_bg">
|
||||
|
||||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:id="@+id/download_button_right"
|
||||
|
@ -382,14 +386,15 @@
|
|||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/title_button_bottom_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/context_menu_controller_height"
|
||||
android:layout_marginLeft="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_weight="1"
|
||||
tools:background="?attr/ctx_menu_controller_bg">
|
||||
<LinearLayout
|
||||
android:id="@+id/title_button_bottom_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_marginRight="@dimen/context_menu_padding_margin_small"
|
||||
android:layout_weight="1"
|
||||
android:minHeight="@dimen/context_menu_controller_height"
|
||||
tools:background="?attr/ctx_menu_controller_bg">
|
||||
|
||||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:id="@+id/title_button_bottom"
|
||||
|
|
|
@ -39,7 +39,8 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/widget_bottom_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/map_widget_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/map_widget_height"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
|
|
|
@ -95,10 +95,11 @@
|
|||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:id="@+id/FromLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="@dimen/list_item_height"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:minHeight="@dimen/list_item_height"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
|
@ -156,10 +157,11 @@
|
|||
android:focusable="false"/>
|
||||
|
||||
<LinearLayout
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:id="@+id/ViaLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/list_item_height"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:minHeight="@dimen/list_item_height"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
|
@ -212,10 +214,11 @@
|
|||
android:focusable="false"/>
|
||||
|
||||
<LinearLayout
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:id="@+id/ToLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="@dimen/list_item_height"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:minHeight="@dimen/list_item_height"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="?attr/bg_color">
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/bg_color"
|
||||
android:minHeight="56dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="?attr/bg_color">
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/bg_color"
|
||||
android:minHeight="56dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="?attr/bg_color">
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/bg_color"
|
||||
android:minHeight="56dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -15,8 +15,9 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/bg_color"
|
||||
android:minHeight="56dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/bg_color"
|
||||
android:minHeight="56dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
|
|
Loading…
Reference in a new issue