commit | d9a69e63437dd30f4cebcb162c6aa8c36a774062 | [log] [tgz] |
---|---|---|
author | Chuck Liao <chuckliao@google.com> | Mon Jun 21 22:58:16 2021 +0800 |
committer | Chuck Liao <chuckliao@google.com> | Mon Jun 21 22:58:16 2021 +0800 |
tree | 1d1505ea33468a75ed9c63a23700e7820341a0c6 | |
parent | eb73b1c4c0865263c0016ab1822bb30dc2cf48ea [diff] |
Remove the ripple effect of the switch button There's already ripple on the list item. Screenshots: Before(ripple): https://screenshot.googleplex.com/5ma7QCet9jeqehW.png After(no ripple): https://screenshot.googleplex.com/XFFmPPEqQaiEvEa.png Bug: 191614840 Test: manual Change-Id: I6cb7582fe7a3cb9481338f54570dd54d551bcb9c
diff --git a/res/layout/dark_mode_section_view.xml b/res/layout/dark_mode_section_view.xml index d63f07a..b9ab0e3 100644 --- a/res/layout/dark_mode_section_view.xml +++ b/res/layout/dark_mode_section_view.xml
@@ -37,6 +37,7 @@ android:id="@+id/dark_mode_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:background="@null" android:clickable="false" android:focusable="false" style="@style/Switch.SettingsLib" />
diff --git a/res/layout/themed_icon_section_view.xml b/res/layout/themed_icon_section_view.xml index cd4268c..80e617d 100644 --- a/res/layout/themed_icon_section_view.xml +++ b/res/layout/themed_icon_section_view.xml
@@ -37,6 +37,7 @@ android:id="@+id/themed_icon_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:background="@null" android:clickable="false" android:focusable="false" style="@style/Switch.SettingsLib"/>