Overflow labels: two lines with ellipsis

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

Fixes: 155497429
Test: manual
Change-Id: I3545a6408b586348bdde20e5183baea3f6fb60c3
This commit is contained in:
Lyn Han
2020-05-05 14:10:16 -07:00
parent 1cf3ce8fde
commit a75a708bd6
2 changed files with 3 additions and 1 deletions

View File

@@ -36,6 +36,8 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:maxLines="1"
android:lines="2"
android:ellipsize="end"
android:layout_gravity="center"
android:paddingTop="@dimen/bubble_overflow_text_padding"
android:gravity="center"/>

View File

@@ -1168,7 +1168,7 @@
<!-- Default (and minimum) height of the expanded view shown when the bubble is expanded -->
<dimen name="bubble_expanded_default_height">180dp</dimen>
<!-- 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 -->
<dimen name="bubble_overflow_empty_state_padding">16dp</dimen>
<!-- Padding of container for overflow bubbles -->