Clip caption container to outline so the ripple doesn't extend past the circular bounds.
Fixes: 188850921 Test: touch it and it looks not broken anymore Change-Id: I70afa777fc921873c8ef5e95a8a56280be375f04
This commit is contained in:
@@ -126,6 +126,7 @@
|
||||
android:gravity="right"
|
||||
android:layout_gravity="right"
|
||||
android:clipToPadding="false"
|
||||
android:clipToOutline="true"
|
||||
android:background="@drawable/volume_row_rounded_background">
|
||||
<com.android.systemui.volume.CaptionsToggleImageButton
|
||||
android:id="@+id/odi_captions_icon"
|
||||
|
||||
@@ -125,6 +125,7 @@
|
||||
android:gravity="right"
|
||||
android:layout_gravity="right"
|
||||
android:clipToPadding="false"
|
||||
android:clipToOutline="true"
|
||||
android:background="@drawable/volume_row_rounded_background">
|
||||
<com.android.systemui.volume.CaptionsToggleImageButton
|
||||
android:id="@+id/odi_captions_icon"
|
||||
|
||||
Reference in New Issue
Block a user