浏览代码

Show 'Add Users or Groups' button properly

masensio 9 年之前
父节点
当前提交
b3dc5f477c
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      res/layout/share_file_layout.xml

+ 3 - 2
res/layout/share_file_layout.xml

@@ -80,10 +80,11 @@
 
         <ListView
             android:layout_width="match_parent"
-            android:layout_height="wrap_content"
+            android:layout_height="0dip"
             android:id="@+id/shareUsersList"
             android:visibility="gone"
-            android:scrollbars="vertical"/>
+            android:scrollbars="vertical"
+            android:layout_weight="1"/>
 
         <TextView
             android:layout_width="match_parent"