Browse Source

limit text length of participant name

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 4 years ago
parent
commit
47f535fdc9
1 changed files with 4 additions and 1 deletions
  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"