From 09f82e22fd65e58a088934b062f98e7b0f553b4c Mon Sep 17 00:00:00 2001 From: Josh Tsuji Date: Tue, 25 May 2021 15:16:54 -0400 Subject: [PATCH] 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 --- packages/SystemUI/res/layout-land/volume_dialog.xml | 1 + packages/SystemUI/res/layout/volume_dialog.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/SystemUI/res/layout-land/volume_dialog.xml b/packages/SystemUI/res/layout-land/volume_dialog.xml index b08e51372dd06..7a03172c69dbb 100644 --- a/packages/SystemUI/res/layout-land/volume_dialog.xml +++ b/packages/SystemUI/res/layout-land/volume_dialog.xml @@ -126,6 +126,7 @@ android:gravity="right" android:layout_gravity="right" android:clipToPadding="false" + android:clipToOutline="true" android:background="@drawable/volume_row_rounded_background">