From 3954a797739918e7100031ad253e5921b5bee999 Mon Sep 17 00:00:00 2001 From: Peter_Liang Date: Wed, 20 Apr 2022 13:18:56 +0800 Subject: [PATCH] Prevent cutting the thumb of the LabeledSeekBarPreference from different themes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the attribute “clipChildren” as false to avoid cutting. Bug: 219415822 Test: manual test Change-Id: I0c565896279111e65600d1b41c576106a8de7136 --- res/layout/icon_discrete_slider.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/res/layout/icon_discrete_slider.xml b/res/layout/icon_discrete_slider.xml index b1d960f8dec..47be5efff79 100644 --- a/res/layout/icon_discrete_slider.xml +++ b/res/layout/icon_discrete_slider.xml @@ -19,6 +19,7 @@ android:id="@+id/seekbar_frame" android:layout_width="match_parent" android:layout_height="wrap_content" + android:clipChildren="false" android:background="?android:colorBackground" android:gravity="center_vertical">