Merge "Make the DND icon look a little less completely broken." into sc-dev

This commit is contained in:
TreeHugger Robot
2021-06-25 22:11:24 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 3 deletions

View File

@@ -46,7 +46,6 @@
android:id="@+id/volume_row_slider_frame" android:id="@+id/volume_row_slider_frame"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/volume_row_slider_height"> android:layout_height="@dimen/volume_row_slider_height">
<include layout="@layout/volume_dnd_icon"/>
<SeekBar <SeekBar
android:id="@+id/volume_row_slider" android:id="@+id/volume_row_slider"
android:paddingLeft="0dp" android:paddingLeft="0dp"
@@ -63,6 +62,7 @@
android:background="@null" android:background="@null"
android:layoutDirection="ltr" android:layoutDirection="ltr"
android:rotation="270" /> android:rotation="270" />
<include layout="@layout/volume_dnd_icon"/>
</FrameLayout> </FrameLayout>
<com.android.keyguard.AlphaOptimizedImageButton <com.android.keyguard.AlphaOptimizedImageButton

View File

@@ -18,12 +18,14 @@
android:id="@+id/dnd_icon" android:id="@+id/dnd_icon"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="6dp"> android:layout_gravity="bottom"
android:layout_marginTop="6dp"
android:layout_marginBottom="6dp">
<ImageView <ImageView
android:layout_width="14dp" android:layout_width="14dp"
android:layout_height="14dp" android:layout_height="14dp"
android:layout_gravity="right|top" android:layout_gravity="center"
android:src="@*android:drawable/ic_qs_dnd" android:src="@*android:drawable/ic_qs_dnd"
android:tint="?android:attr/textColorTertiary"/> android:tint="?android:attr/textColorTertiary"/>
</FrameLayout> </FrameLayout>