Explorar o código

limit text length of participant name

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe %!s(int64=4) %!d(string=hai) anos
pai
achega
47f535fdc9
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      app/src/main/res/layout/call_item.xml

+ 4 - 1
app/src/main/res/layout/call_item.xml

@@ -51,8 +51,11 @@
         android:layout_alignParentBottom="true"
         android:layout_marginBottom="6dp"
         android:layout_marginStart="10dp"
+        android:ellipsize="end"
+        android:maxEms="8"
+        android:maxLines="1"
         android:textColor="@android:color/white"
-        tools:text="Bill Murray"/>
+        tools:text="Bill Murray 12345678901234567890"/>
 
     <ImageView
         android:id="@+id/remote_audio_off"