From db4dec3c56332a013bc9b67d459088ac1ce7bad0 Mon Sep 17 00:00:00 2001 From: Chumva Date: Mon, 28 Oct 2019 16:02:14 +0200 Subject: [PATCH] Fix preferences toolbar size and icons color --- .../res/layout/global_preference_toolbar.xml | 9 +++++---- .../global_preferences_toolbar_with_switch.xml | 3 +-- .../res/layout/profile_preference_toolbar.xml | 3 +-- .../layout/profile_preference_toolbar_big.xml | 3 +-- .../profile_preference_toolbar_with_switch.xml | 3 +-- .../GeneralProfileSettingsFragment.java | 18 +++++++++--------- .../plus/settings/MainSettingsFragment.java | 2 +- .../plus/settings/RouteParametersFragment.java | 4 ++-- .../settings/VehicleParametersFragment.java | 6 +++--- 9 files changed, 24 insertions(+), 27 deletions(-) diff --git a/OsmAnd/res/layout/global_preference_toolbar.xml b/OsmAnd/res/layout/global_preference_toolbar.xml index 9f14b4c110..961d6c2a7e 100644 --- a/OsmAnd/res/layout/global_preference_toolbar.xml +++ b/OsmAnd/res/layout/global_preference_toolbar.xml @@ -4,14 +4,16 @@ xmlns:tools="http://schemas.android.com/tools" android:id="@+id/toolbar" android:layout_width="match_parent" - android:layout_height="@dimen/toolbar_height" + android:layout_height="wrap_content" android:background="?attr/actionModeBackground" + android:minHeight="@dimen/toolbar_height" app:contentInsetLeft="0dp" app:contentInsetStart="0dp"> + android:layout_height="wrap_content" + android:gravity="center_vertical">