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

Commit a75a708b authored by Lyn Han's avatar Lyn Han
Browse files

Overflow labels: two lines with ellipsis

Increase overflow height by 20dp to adjust for label heights.

Fixes: 155497429
Test: manual
Change-Id: I3545a6408b586348bdde20e5183baea3f6fb60c3
parent 1cf3ce8f
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -36,6 +36,8 @@
        android:layout_width="fill_parent"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_height="wrap_content"
        android:maxLines="1"
        android:maxLines="1"
        android:lines="2"
        android:ellipsize="end"
        android:layout_gravity="center"
        android:layout_gravity="center"
        android:paddingTop="@dimen/bubble_overflow_text_padding"
        android:paddingTop="@dimen/bubble_overflow_text_padding"
        android:gravity="center"/>
        android:gravity="center"/>
+1 −1
Original line number Original line Diff line number Diff line
@@ -1168,7 +1168,7 @@
    <!-- Default (and minimum) height of the expanded view shown when the bubble is expanded -->
    <!-- Default (and minimum) height of the expanded view shown when the bubble is expanded -->
    <dimen name="bubble_expanded_default_height">180dp</dimen>
    <dimen name="bubble_expanded_default_height">180dp</dimen>
    <!-- Default height of bubble overflow -->
    <!-- Default height of bubble overflow -->
    <dimen name="bubble_overflow_height">460dp</dimen>
    <dimen name="bubble_overflow_height">480dp</dimen>
    <!-- Bubble overflow padding when there are no bubbles  -->
    <!-- Bubble overflow padding when there are no bubbles  -->
    <dimen name="bubble_overflow_empty_state_padding">16dp</dimen>
    <dimen name="bubble_overflow_empty_state_padding">16dp</dimen>
    <!-- Padding of container for overflow bubbles -->
    <!-- Padding of container for overflow bubbles -->