commit | 7aea2de5ce481382adc898a0936224b72a6cee68 | [log] [tgz] |
---|---|---|
author | Chuck Liao <chuckliao@google.com> | Thu Sep 16 17:03:32 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Sep 16 17:03:32 2021 +0000 |
tree | b2edf44bf8cce7c82a4907dbf2a076cdd08e080b | |
parent | 545474a0cc570fcd8af5bd45be5cd170d3bb415c [diff] | |
parent | 79c8841c0f489783bed3f3cde36f629016c427d1 [diff] |
Fix the cutoff of switch button am: 79c8841c0f Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/ThemePicker/+/15810510 Change-Id: If14ef3424efdafca82327b394e0c176945bc9cb4
diff --git a/res/layout/themed_icon_section_view.xml b/res/layout/themed_icon_section_view.xml index 97892ee..cf7b842 100644 --- a/res/layout/themed_icon_section_view.xml +++ b/res/layout/themed_icon_section_view.xml
@@ -28,6 +28,7 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" + android:gravity="center_vertical" android:orientation="horizontal"> <TextView @@ -42,7 +43,7 @@ <Switch android:id="@+id/themed_icon_toggle" android:layout_width="wrap_content" - android:layout_height="match_parent" + android:layout_height="wrap_content" android:background="@null" android:clickable="false" android:focusable="false"