Add ripple to privacy dialog

Ripple extends to left and right edge of container.

Test: manual
Fixes: 188656821
Change-Id: I0dafd8cd392c3d77d06dfbd0214328cefa223eca
This commit is contained in:
Fabian Kozynski
2021-06-01 15:20:30 -04:00
parent 1dfd948440
commit 457547d8a5
2 changed files with 3 additions and 2 deletions

View File

@@ -24,8 +24,6 @@
android:layout_marginEnd="@dimen/ongoing_appops_dialog_side_margins"
android:layout_marginTop="8dp"
android:orientation="vertical"
android:paddingLeft="@dimen/ongoing_appops_dialog_side_padding"
android:paddingRight="@dimen/ongoing_appops_dialog_side_padding"
android:paddingBottom="12dp"
android:paddingTop="8dp"
android:background="@drawable/qs_dialog_bg"

View File

@@ -23,6 +23,9 @@
android:orientation="horizontal"
android:layout_marginTop="4dp"
android:importantForAccessibility="yes"
android:background="?android:attr/selectableItemBackground"
android:paddingLeft="@dimen/ongoing_appops_dialog_side_padding"
android:paddingRight="@dimen/ongoing_appops_dialog_side_padding"
android:focusable="true"
>
<!-- 4dp marginTop makes 20dp minimum between icons -->