My places item height 60dp

This commit is contained in:
Dima-1 2020-04-28 11:55:30 +03:00
parent 8e4a99a82a
commit ec20d7f4ae
3 changed files with 16 additions and 16 deletions

View file

@ -18,8 +18,8 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="@dimen/list_content_padding" android:paddingLeft="@dimen/context_menu_padding_margin_large"
android:paddingStart="@dimen/list_content_padding" android:paddingStart="@dimen/context_menu_padding_margin_large"
android:paddingRight="0dp" android:paddingRight="0dp"
android:paddingEnd="0dp" android:paddingEnd="0dp"
android:minHeight="@dimen/bottom_sheet_list_item_height" android:minHeight="@dimen/bottom_sheet_list_item_height"
@ -37,8 +37,8 @@
<ImageView <ImageView
android:id="@+id/category_icon" android:id="@+id/category_icon"
android:layout_width="24dp" android:layout_width="@dimen/standard_icon_size"
android:layout_height="24dp" android:layout_height="@dimen/standard_icon_size"
android:layout_gravity="center_vertical"/> android:layout_gravity="center_vertical"/>
<net.osmand.plus.widgets.TextViewEx <net.osmand.plus.widgets.TextViewEx
@ -46,13 +46,13 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/list_content_padding_large" android:layout_marginLeft="@dimen/card_content_padding_large"
android:layout_weight="1" android:layout_weight="1"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size" android:textSize="@dimen/default_list_text_size"
osmand:typeface="@string/font_roboto_medium" osmand:typeface="@string/font_roboto_medium"
tools:text="Category name" tools:text="Category name"
android:layout_marginStart="@dimen/list_content_padding_large" /> android:layout_marginStart="@dimen/card_content_padding_large" />
<ImageView <ImageView
android:id="@+id/options" android:id="@+id/options"
@ -71,7 +71,7 @@
<ImageView <ImageView
android:id="@+id/explist_indicator" android:id="@+id/explist_indicator"
android:layout_width="24dp" android:layout_width="@dimen/context_menu_padding_margin_large"
android:layout_height="match_parent" android:layout_height="match_parent"
android:scaleType="center" android:scaleType="center"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"

View file

@ -30,10 +30,10 @@
android:minHeight="@dimen/favorites_list_item_height" android:minHeight="@dimen/favorites_list_item_height"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingStart="@dimen/list_header_padding" android:paddingStart="@dimen/list_header_text_left_margin"
android:paddingLeft="@dimen/list_header_padding" android:paddingLeft="@dimen/list_header_text_left_margin"
android:paddingEnd="@dimen/list_header_padding" android:paddingEnd="@dimen/list_header_text_left_margin"
android:paddingRight="@dimen/list_header_padding"> android:paddingRight="@dimen/list_header_text_left_margin">
<FrameLayout <FrameLayout
android:layout_width="@dimen/favorites_icon_size" android:layout_width="@dimen/favorites_icon_size"
@ -67,10 +67,10 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_weight="1" android:layout_weight="1"
android:orientation="vertical" android:orientation="vertical"
android:layout_marginStart="@dimen/favorites_icon_right_margin" android:layout_marginStart="@dimen/context_menu_padding_margin_large"
android:layout_marginLeft="@dimen/favorites_icon_right_margin" android:layout_marginLeft="@dimen/context_menu_padding_margin_large"
android:layout_marginEnd="@dimen/favorites_icon_right_margin" android:layout_marginEnd="@dimen/context_menu_padding_margin_large"
android:layout_marginRight="@dimen/favorites_icon_right_margin" android:layout_marginRight="@dimen/context_menu_padding_margin_large"
android:paddingTop="@dimen/context_menu_padding_margin_small" android:paddingTop="@dimen/context_menu_padding_margin_small"
android:paddingBottom="@dimen/context_menu_padding_margin_small"> android:paddingBottom="@dimen/context_menu_padding_margin_small">

View file

@ -71,7 +71,7 @@
<dimen name="favorites_icon_right_margin">24dp</dimen> <dimen name="favorites_icon_right_margin">24dp</dimen>
<dimen name="favorites_icon_size">40dp</dimen> <dimen name="favorites_icon_size">40dp</dimen>
<dimen name="favorites_list_item_height">66dp</dimen> <dimen name="favorites_list_item_height">60dp</dimen>
<dimen name="local_index_check_right_margin">10dp</dimen> <dimen name="local_index_check_right_margin">10dp</dimen>
<dimen name="favorites_icon_top_margin">13dp</dimen> <dimen name="favorites_icon_top_margin">13dp</dimen>
<dimen name="dialog_elements_vertical_margin">16dp</dimen> <dimen name="dialog_elements_vertical_margin">16dp</dimen>