Merge "In overflow view, set bubble name TextView width to a fixed value" into sc-v2-dev am: 34ba68727c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16187196

Change-Id: I8c6513ef6f28ada491d79fe4276e593d533413e7
This commit is contained in:
Sergey Serokurov
2021-11-04 23:40:47 +00:00
committed by Automerger Merge Worker
2 changed files with 3 additions and 1 deletions

View File

@@ -32,7 +32,7 @@
android:id="@+id/bubble_view_name"
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem"
android:textSize="13sp"
android:layout_width="wrap_content"
android:layout_width="@dimen/bubble_name_width"
android:layout_height="wrap_content"
android:maxLines="1"
android:lines="2"

View File

@@ -115,6 +115,8 @@
<dimen name="bubble_spacing">3dp</dimen>
<!-- Size of the bubble. -->
<dimen name="bubble_size">60dp</dimen>
<!-- Width of bubble name view -->
<dimen name="bubble_name_width">90dp</dimen>
<!-- Size of the badge shown on the bubble. -->
<dimen name="bubble_badge_size">24dp</dimen>
<!-- Extra padding added to the touchable rect for bubbles so they are easier to grab. -->