浏览代码

Fixed bug. The size of a file is moved to the left when it is shared by link

jabarros 10 年之前
父节点
当前提交
ab5e9250d2
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      res/layout/list_item.xml

+ 3 - 3
res/layout/list_item.xml

@@ -107,7 +107,7 @@
     </LinearLayout>
 
     <LinearLayout
-        android:layout_width="wrap_content"
+        android:layout_width="25dp"
         android:layout_height="match_parent"
         android:gravity="center_vertical"
         android:orientation="vertical">
@@ -116,7 +116,7 @@
         android:id="@+id/sharedIcon"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:layout_gravity="center_vertical"
+        android:layout_gravity="center"
         android:layout_marginLeft="4dp"
         android:layout_marginBottom="4dp"
         android:layout_marginRight="4dp"
@@ -126,7 +126,7 @@
         android:id="@+id/sharedWithMeIcon"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:layout_gravity="center_vertical"
+        android:layout_gravity="center"
         android:layout_marginLeft="4dp"
         android:layout_marginRight="4dp"
         android:layout_marginTop="4dp"