diff options
| author | 2020-06-26 14:02:49 -0400 | |
|---|---|---|
| committer | 2020-06-26 14:02:49 -0400 | |
| commit | 3534cca4a9fcf095c6532b5e0a049b22d0d16746 (patch) | |
| tree | fbe4fa0cc17d98109d75d00039d8aa8d317e770d | |
| parent | 72ed8f0f23fe48c11ea7262590a23123a774f476 (diff) | |
Vertically center elements within output switcher chip
Bug: 159990829
Test: manual - Change text size to smallest and look at output switcher
ship. Verify that text is aligned to center of device icon.
Test: manual - Change text size to largest and look at output switcher
chip. Verify that icon is aligned to center of device name text.
Change-Id: Ie1303c003afce190013aa78295e9d2b8425301f9
| -rw-r--r-- | packages/SystemUI/res/layout/media_view.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout/media_view.xml b/packages/SystemUI/res/layout/media_view.xml index 07bbb8f40eb8..edc20a761382 100644 --- a/packages/SystemUI/res/layout/media_view.xml +++ b/packages/SystemUI/res/layout/media_view.xml @@ -132,6 +132,7 @@ android:layout_width="@dimen/qs_seamless_icon_size" android:layout_height="@dimen/qs_seamless_icon_size" android:layout_marginEnd="8dp" + android:layout_gravity="center_vertical" android:tint="@color/media_primary_text" android:src="@*android:drawable/ic_media_seamless" /> @@ -139,6 +140,7 @@ android:id="@+id/media_seamless_text" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_gravity="center_vertical" android:fontFamily="@*android:string/config_headlineFontFamily" android:singleLine="true" android:text="@*android:string/ext_media_seamless_action" |