Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3534cca4 authored by Robert Snoeberger's avatar Robert Snoeberger
Browse files

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
parent 72ed8f0f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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"