From 9f40195d76d1cb53d83d40a7a71bfb3ae21c0d04 Mon Sep 17 00:00:00 2001 From: androiddevkotlin <64539346+androiddevkotlin@users.noreply.github.com> Date: Fri, 2 Apr 2021 22:59:20 +0300 Subject: [PATCH] Remove unnecessary code from toolbar, boolean exit number setting --- ...profile_preference_toolbar_with_switch.xml | 26 +++++----- .../fragments/VoiceAnnouncesFragment.java | 47 +++++++------------ 2 files changed, 29 insertions(+), 44 deletions(-) diff --git a/OsmAnd/res/layout/profile_preference_toolbar_with_switch.xml b/OsmAnd/res/layout/profile_preference_toolbar_with_switch.xml index 14672b52df..c9ddd04254 100644 --- a/OsmAnd/res/layout/profile_preference_toolbar_with_switch.xml +++ b/OsmAnd/res/layout/profile_preference_toolbar_with_switch.xml @@ -5,10 +5,10 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="0dp" - osmand:contentInsetLeft="0dp" - osmand:contentInsetStart="0dp" - osmand:contentInsetRight="0dp" osmand:contentInsetEnd="0dp" + osmand:contentInsetLeft="0dp" + osmand:contentInsetRight="0dp" + osmand:contentInsetStart="0dp" osmand:theme="@style/ThemeOverlay.AppCompat.ActionBar"> + android:tint="?attr/default_icon_color" + osmand:srcCompat="@drawable/ic_arrow_back" /> + android:orientation="vertical" + android:paddingTop="@dimen/content_padding_half" + android:paddingBottom="@dimen/content_padding_half">