commit | a0b413c235e857caee024701784e71ed8caefa10 | [log] [tgz] |
---|---|---|
author | George Lin <giolin@google.com> | Mon Aug 15 19:46:46 2022 +0000 |
committer | George Lin <giolin@google.com> | Tue Aug 16 16:31:38 2022 +0000 |
tree | ce8c27df5087c187798839847f2912b2160d69d0 | |
parent | 98e5b2a5e9c4b6af8f9ae8205d9a365ea9e0f893 [diff] |
Fix spacing issue for dark_mode_section Fix spacing issue by introducing minHeight to 0dp to truly wrap the Switch widget. Test: https://screenshot.googleplex.com/9EPrEw4BZ7mAfNa Bug: 238297168 Change-Id: Iaa432dbe3c309b50c59c69651102db2e8ef5714a
diff --git a/res/layout/dark_mode_section_view.xml b/res/layout/dark_mode_section_view.xml index b9ab0e3..e1b4b81 100644 --- a/res/layout/dark_mode_section_view.xml +++ b/res/layout/dark_mode_section_view.xml
@@ -40,6 +40,7 @@ android:background="@null" android:clickable="false" android:focusable="false" + android:minHeight="0dp" style="@style/Switch.SettingsLib" /> </com.android.customization.picker.mode.DarkModeSectionView>