Просмотр исходного кода

lint: Inefficient layout weight

AndyScherzinger 6 лет назад
Родитель
Сommit
a2c0b180ec
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/res/layout/file_details_share_user_item.xml

+ 1 - 1
src/main/res/layout/file_details_share_user_item.xml

@@ -40,7 +40,7 @@
             android:contentDescription="@string/user_icon"/>
 
         <TextView
-            android:layout_width="match_parent"
+            android:layout_width="0dp"
             android:layout_height="match_parent"
             android:layout_weight="1"
             android:textSize="@dimen/file_details_username_text_size"