From 5ce6dbe85a9bc038a6ce6d85adbfd8d90c95bccf Mon Sep 17 00:00:00 2001 From: Skalii Date: Thu, 11 Mar 2021 14:26:16 +0200 Subject: [PATCH] fix toggle button display after rotate screen p.2 --- .../res/layout/bottom_sheet_item_preference_switch.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/OsmAnd/res/layout/bottom_sheet_item_preference_switch.xml b/OsmAnd/res/layout/bottom_sheet_item_preference_switch.xml index 6e281a4d04..d424b02fb1 100644 --- a/OsmAnd/res/layout/bottom_sheet_item_preference_switch.xml +++ b/OsmAnd/res/layout/bottom_sheet_item_preference_switch.xml @@ -13,11 +13,11 @@ android:layout_marginEnd="@dimen/content_padding" android:layout_marginRight="@dimen/content_padding" android:minHeight="@dimen/bottom_sheet_list_item_height" + android:paddingStart="@dimen/content_padding" android:paddingLeft="@dimen/content_padding" - android:paddingRight="@dimen/content_padding" - tools:background="@drawable/rectangle_rounded_right" android:paddingEnd="@dimen/content_padding" - android:paddingStart="@dimen/content_padding"> + android:paddingRight="@dimen/content_padding" + tools:background="@drawable/rectangle_rounded_right"> + android:focusableInTouchMode="false" + android:saveEnabled="false" />