瀏覽代碼

text layout tune up

billyyoyo 5 年之前
父節點
當前提交
f74acae8e1
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/src/main/res/layout/find_item_game_news.xml

+ 2 - 0
app/src/main/res/layout/find_item_game_news.xml

@@ -26,6 +26,8 @@
         android:layout_height="wrap_content"
         android:layout_marginLeft="16dp"
         android:layout_marginTop="6dp"
+        android:ellipsize="end"
+        android:maxLines="2"
         android:layout_marginRight="16dp"
         android:textColor="#9B9B9B"
         android:textSize="12sp" />