diff --git a/OsmAnd/res/layout/global_preference_toolbar.xml b/OsmAnd/res/layout/global_preference_toolbar.xml index 44b75ad95f..9419eed5f0 100644 --- a/OsmAnd/res/layout/global_preference_toolbar.xml +++ b/OsmAnd/res/layout/global_preference_toolbar.xml @@ -5,6 +5,7 @@ android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" + android:minHeight="@dimen/toolbar_height" android:background="?attr/actionModeBackground" android:padding="0dp" app:contentInsetLeft="0dp" diff --git a/OsmAnd/res/layout/global_preferences_toolbar_with_switch.xml b/OsmAnd/res/layout/global_preferences_toolbar_with_switch.xml index 8d062117ae..ba39eb6412 100644 --- a/OsmAnd/res/layout/global_preferences_toolbar_with_switch.xml +++ b/OsmAnd/res/layout/global_preferences_toolbar_with_switch.xml @@ -6,6 +6,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?attr/actionModeBackground" + android:minHeight="@dimen/toolbar_height" app:contentInsetLeft="0dp" app:contentInsetStart="0dp" app:contentInsetRight="0dp" diff --git a/OsmAnd/res/layout/profile_preference_toolbar.xml b/OsmAnd/res/layout/profile_preference_toolbar.xml index 3b38185038..2c013b3f00 100644 --- a/OsmAnd/res/layout/profile_preference_toolbar.xml +++ b/OsmAnd/res/layout/profile_preference_toolbar.xml @@ -4,6 +4,7 @@ android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" + android:minHeight="@dimen/toolbar_height" osmand:contentInsetLeft="0dp" osmand:contentInsetStart="0dp" osmand:contentInsetRight="0dp" diff --git a/OsmAnd/res/layout/profile_preference_toolbar_with_icon.xml b/OsmAnd/res/layout/profile_preference_toolbar_with_icon.xml index d8b1dafaaa..98f2b0966d 100644 --- a/OsmAnd/res/layout/profile_preference_toolbar_with_icon.xml +++ b/OsmAnd/res/layout/profile_preference_toolbar_with_icon.xml @@ -6,6 +6,7 @@ android:layout_height="wrap_content" android:background="?attr/actionModeBackground" android:minHeight="@dimen/toolbar_height" + android:padding="0dp" osmand:contentInsetLeft="0dp" osmand:contentInsetStart="0dp" osmand:contentInsetRight="0dp" diff --git a/OsmAnd/res/layout/search_advanced_coords.xml b/OsmAnd/res/layout/search_advanced_coords.xml index 04f7aaa16e..75b3ee5b4e 100644 --- a/OsmAnd/res/layout/search_advanced_coords.xml +++ b/OsmAnd/res/layout/search_advanced_coords.xml @@ -1,10 +1,11 @@ + xmlns:osmand="http://schemas.android.com/apk/res-auto" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> @@ -28,10 +31,11 @@ android:gravity="center_vertical" android:orientation="horizontal"> - + osmand:typeface="@string/font_roboto_medium" + android:textSize="@dimen/dialog_header_text_size"/> + android:layout_marginStart="8dp" + android:layout_marginEnd="8dp" /> diff --git a/OsmAnd/res/layout/search_custom_poi.xml b/OsmAnd/res/layout/search_custom_poi.xml index 7023b905ce..23234ebc92 100644 --- a/OsmAnd/res/layout/search_custom_poi.xml +++ b/OsmAnd/res/layout/search_custom_poi.xml @@ -9,7 +9,7 @@ + android:layout_height="@dimen/toolbar_height"> @@ -31,15 +33,14 @@ - + osmand:typeface="@string/font_roboto_medium" + android:textSize="@dimen/dialog_header_text_size"/> diff --git a/OsmAnd/res/layout/search_dialog_fragment.xml b/OsmAnd/res/layout/search_dialog_fragment.xml index 964a025182..3b8e813f83 100644 --- a/OsmAnd/res/layout/search_dialog_fragment.xml +++ b/OsmAnd/res/layout/search_dialog_fragment.xml @@ -24,8 +24,9 @@ android:minHeight="@dimen/dashboard_map_toolbar" android:padding="0dp" android:theme="?attr/toolbar_theme" - app:contentInsetLeft="54dp" - app:contentInsetStart="54dp" + app:contentInsetStartWithNavigation="@dimen/toolbar_inset_start_with_navigation" + app:contentInsetLeft="0dp" + app:contentInsetStart="0dp" app:contentInsetRight="0dp" app:contentInsetEnd="0dp"> diff --git a/OsmAnd/res/values-large/sizes.xml b/OsmAnd/res/values-large/sizes.xml index 70b9e5eb7e..07047222d2 100644 --- a/OsmAnd/res/values-large/sizes.xml +++ b/OsmAnd/res/values-large/sizes.xml @@ -121,7 +121,6 @@ 450dp 54dp - 64dp 24dp \ No newline at end of file diff --git a/OsmAnd/res/values/sizes.xml b/OsmAnd/res/values/sizes.xml index cd33774ac5..8f6a9e92ab 100644 --- a/OsmAnd/res/values/sizes.xml +++ b/OsmAnd/res/values/sizes.xml @@ -9,7 +9,7 @@ 60dp 56dp 4dp - 64dp + 56dp 32dp 20dp 28sp @@ -335,6 +335,7 @@ 56dp 96dp + 72dp 36dp 80dp diff --git a/OsmAnd/res/values/styles.xml b/OsmAnd/res/values/styles.xml index 468bdfe57d..9213c31d88 100644 --- a/OsmAnd/res/values/styles.xml +++ b/OsmAnd/res/values/styles.xml @@ -287,6 +287,7 @@ @style/OsmandPreferenceTheme @color/stroked_buttons_and_links_outline_light @drawable/btn_bg_border_inactive_light + @dimen/action_bar_height