Revert "Edit dnd icon in volume dialog"
This reverts commit b36ef4eb5779a03c25d2fbeb283944f93e273583.
Bug: 78554550
Bug: 78275139
Reason for revert: Adds unnecessary spacing when there are multiple volume rows
Change-Id: I8f858b152f92418dce8f1088e892b758baaa2299
diff --git a/packages/SystemUI/res/layout/volume_dnd_icon.xml b/packages/SystemUI/res/layout/volume_dnd_icon.xml
index acf9aed..215b230 100644
--- a/packages/SystemUI/res/layout/volume_dnd_icon.xml
+++ b/packages/SystemUI/res/layout/volume_dnd_icon.xml
@@ -15,16 +15,16 @@
-->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="@dimen/volume_dialog_panel_width"
- android:layout_height="wrap_content">
+ android:layout_width="14dp"
+ android:layout_height="14dp"
+ android:layout_marginTop="6dp"
+ android:layout_marginRight="6dp"
+ android:layout_gravity="right|top">
<ImageView
android:id="@+id/dnd_icon"
- android:layout_width="14dp"
- android:layout_height="14dp"
- android:layout_marginTop="6dp"
- android:layout_marginRight="6dp"
- android:layout_gravity="right|top"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:src="@drawable/ic_dnd"
android:tint="?android:attr/textColorTertiary"/>
</FrameLayout>