From 25cd46b59cfc6358c804b89631e0ec0503a00c37 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 18 Aug 2017 10:18:39 +0300 Subject: [PATCH] Fix paddings --- .../fragment_options_bottom_sheet_dialog.xml | 12 +++++++++++ ..._save_as_new_track_bottom_sheet_dialog.xml | 20 ++++++++++++------- ...ment_selected_menu_bottom_sheet_dialog.xml | 11 +++++++++- ...gment_snap_to_road_bottom_sheet_dialog.xml | 4 ++++ .../res/layout/list_item_icon_and_title.xml | 2 ++ .../res/layout/measure_points_list_item.xml | 4 ++++ 6 files changed, 45 insertions(+), 8 deletions(-) diff --git a/OsmAnd/res/layout/fragment_options_bottom_sheet_dialog.xml b/OsmAnd/res/layout/fragment_options_bottom_sheet_dialog.xml index 7ff121d5f2..44173d60c8 100644 --- a/OsmAnd/res/layout/fragment_options_bottom_sheet_dialog.xml +++ b/OsmAnd/res/layout/fragment_options_bottom_sheet_dialog.xml @@ -25,6 +25,8 @@ android:layout_height="52dp" android:gravity="center_vertical" android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:paddingStart="16dp" android:text="@string/shared_string_options" android:textAppearance="@style/TextAppearance.ListItemTitle" @@ -37,6 +39,8 @@ android:background="?attr/selectableItemBackground" android:minHeight="48dp" android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:paddingStart="16dp"> @@ -138,6 +144,8 @@ android:background="?attr/selectableItemBackground" android:minHeight="48dp" android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:paddingStart="16dp"> @@ -24,6 +24,8 @@ android:layout_height="52dp" android:gravity="center_vertical" android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:paddingStart="16dp" android:text="@string/shared_string_save_as_gpx" android:textAppearance="@style/TextAppearance.ListItemTitle" @@ -33,6 +35,8 @@ android:layout_width="match_parent" android:layout_height="44dp" android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:paddingStart="16dp" android:text="@string/measurement_tool_save_as_new_track_descr" android:textColor="?android:textColorSecondary" @@ -41,8 +45,8 @@ + android:layout_marginBottom="16dp" + android:orientation="horizontal"> - - @@ -119,6 +121,8 @@ android:background="?attr/selectableItemBackground" android:minHeight="48dp" android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:paddingStart="16dp"> - @@ -77,6 +78,8 @@ android:background="?attr/selectableItemBackground" android:minHeight="48dp" android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:paddingStart="16dp"> @@ -32,6 +34,8 @@ android:layout_width="match_parent" android:layout_height="44dp" android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:paddingStart="16dp" android:text="@string/measurement_tool_snap_to_road_descr" android:textColor="?android:textColorSecondary" diff --git a/OsmAnd/res/layout/list_item_icon_and_title.xml b/OsmAnd/res/layout/list_item_icon_and_title.xml index e98a58a395..b2a7b0dfcf 100644 --- a/OsmAnd/res/layout/list_item_icon_and_title.xml +++ b/OsmAnd/res/layout/list_item_icon_and_title.xml @@ -7,6 +7,8 @@ android:background="?attr/selectableItemBackground" android:minHeight="48dp" android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:paddingStart="16dp">