Browse Source

1.app名字超出一行则显示省略号

20241218TB223FC(测试jar包)
wangwanlei 8 months ago
parent
commit
09d1624a00
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      app/src/main/res/layout/btncardview.xml

+ 2
- 0
app/src/main/res/layout/btncardview.xml View File

@@ -28,6 +28,8 @@
28 28
         android:layout_marginTop="10dp"
29 29
         android:layout_marginRight="2dp"
30 30
         android:gravity="center"
31
+        android:singleLine="true"
32
+        android:ellipsize="end"
31 33
         android:textColor="#FF253A70"
32 34
         android:textSize="15sp" />
33 35
 </LinearLayout>

Loading…
Cancel
Save