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

Commit b7a356f6 authored by Robert Snoeberger's avatar Robert Snoeberger
Browse files

Chaser for ag/11973247 to wrap content

Otherwise, the ouput switcher chip will expand to fill the avaiable
space.

Fixes: 159708142
Test: manual - Connect headphones with short name. Look at player in QS.
Verify that chip wraps the text and isn't too wide.

Change-Id: I574762cc2d327fe7c55a3c3c6105d15dec55f7ca
parent fd910278
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -42,10 +42,11 @@

    <Constraint
        android:id="@+id/media_seamless"
        android:layout_width="0dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constrainedWidth="true"
        app:layout_constraintWidth_min="60dp"
        app:layout_constraintStart_toEndOf="@id/center_vertical_guideline"
        app:layout_constraintHorizontal_bias="1"
+2 −1
Original line number Diff line number Diff line
@@ -42,12 +42,13 @@

    <Constraint
        android:id="@+id/media_seamless"
        android:layout_width="0dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toEndOf="@id/center_vertical_guideline"
        app:layout_constraintHorizontal_bias="1"
        app:layout_constrainedWidth="true"
        app:layout_constraintWidth_min="60dp"
        android:layout_marginTop="@dimen/qs_media_panel_outer_padding"
        android:layout_marginEnd="@dimen/qs_media_panel_outer_padding"