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

Commit bdb754d2 authored by Caitlin Cassidy's avatar Caitlin Cassidy
Browse files

[Media TTT] Update text to take the rest of the width, so that it will

spill onto a second line if it needs it.

Fixes: 229558906
Fixes: 217230866
Test: manual (see screenshots in bug)
Change-Id: I07d93c5f6f556b1fb174195398c4952a04e8fa55
parent 8bcab9fe
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -31,6 +31,8 @@
        android:padding="@dimen/media_ttt_chip_outer_padding"
        android:background="@drawable/media_ttt_chip_background"
        android:layout_marginTop="20dp"
        android:layout_marginStart="@dimen/notification_side_paddings"
        android:layout_marginEnd="@dimen/notification_side_paddings"
        android:clipToPadding="false"
        android:gravity="center_vertical"
        android:alpha="0.0"
@@ -46,8 +48,9 @@

        <TextView
            android:id="@+id/text"
            android:layout_width="wrap_content"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textSize="@dimen/media_ttt_text_size"
            android:textColor="?android:attr/textColorPrimary"
            android:alpha="0.0"