Skip to content

Commit 7b83158

Browse files
committed
Ellipsize long avatar names in user switcher.
Bug: 7294380 Change-Id: Id82354172ee9be6b76ca98863e058ab0a58ecb78
1 parent 8637bd9 commit 7b83158

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/res/res/layout/keyguard_multi_user_avatar.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
android:layout_gravity="center_vertical|left"
4848
android:textSize="16sp"
4949
android:textColor="#ffffff"
50+
android:singleLine="true"
51+
android:ellipsize="end"
5052
android:background="#808080" />
5153
</LinearLayout>
5254
</com.android.internal.policy.impl.keyguard.KeyguardMultiUserAvatar>

0 commit comments

Comments
 (0)