Fixed typo in strings.xml
[pub/Android/ownCloud.git] / res / layout / list_item.xml
index ddad38c..a4113de 100644 (file)
@@ -3,10 +3,11 @@
   ownCloud Android client application\r
 \r
   Copyright (C) 2012  Bartek Przybylski\r
+  Copyright (C) 2012-2013 ownCloud Inc.\r
+\r
   This program is free software: you can redistribute it and/or modify\r
-  it under the terms of the GNU General Public License as published by\r
-  the Free Software Foundation, either version 3 of the License, or\r
-  (at your option) any later version.\r
+  it under the terms of the GNU General Public License version 2,\r
+  as published by the Free Software Foundation.\r
 \r
   This program is distributed in the hope that it will be useful,\r
   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
     android:layout_height="56dp">\r
 \r
     <FrameLayout\r
-        android:layout_width="wrap_content"\r
+        android:layout_width="56dp"\r
         android:layout_height="56dp"\r
         android:focusable="false"\r
         android:focusableInTouchMode="false">\r
-        \r
+\r
         <ImageView\r
             android:id="@+id/imageView2"\r
-            android:layout_width="wrap_content"\r
-            android:layout_height="wrap_content"\r
-            android:src="@drawable/local_file_indicator"/>\r
+            android:layout_width="32dp"\r
+            android:layout_height="32dp"\r
+            android:layout_gravity="center_vertical"\r
+            android:layout_marginLeft="22dp"\r
+            android:src="@drawable/local_file_indicator" />\r
 \r
         <ImageView\r
             android:id="@+id/imageView1"\r
-            android:layout_width="20dp"\r
-            android:layout_height="20dp"\r
-            android:layout_gravity="center_vertical|center"\r
-            android:layout_margin="4dp"\r
+            android:layout_width="32dp"\r
+            android:layout_height="32dp"\r
+            android:layout_gravity="center_vertical"\r
+            android:layout_marginLeft="9dp"\r
             android:src="@drawable/ic_menu_archive" />\r
 \r
         <ImageView\r
             android:id="@+id/imageView3"\r
             android:layout_width="wrap_content"\r
             android:layout_height="wrap_content"\r
-            android:layout_gravity="bottom"\r
-            android:layout_weight=".1"\r
-            android:maxHeight="15dip"\r
+            android:layout_gravity="bottom|right"\r
+            android:layout_marginBottom="10dp"\r
+            android:layout_marginRight="2dp"\r
             android:src="@drawable/ic_favorite" />\r
-        \r
     </FrameLayout>\r
-\r\r\r\r
+\r
     <LinearLayout\r
         android:layout_width="0dp"\r
         android:layout_height="match_parent"\r
         android:layout_weight="1"\r
         android:gravity="center_vertical"\r
         android:orientation="vertical" >\r
-\r\r
+\r
         <TextView\r
             android:id="@+id/Filename"\r
             android:layout_width="wrap_content"\r
@@ -87,6 +89,7 @@
                 android:layout_height="wrap_content"\r
                 android:text="TextView"\r
                 android:layout_weight=".5"\r
+                android:textColor="@color/list_item_lastmod_and_filesize_text"\r
                 android:textSize="12dip"/>\r
 \r
             <TextView\r
                 android:layout_height="wrap_content"\r
                 android:gravity="right"\r
                 android:text="TextView"\r
+                android:textColor="@color/list_item_lastmod_and_filesize_text"\r
                 android:layout_weight=".5"\r
                 android:textSize="12dip"/>\r
 \r
         </LinearLayout>\r
 \r
     </LinearLayout>\r
-\r\r\r\r
+\r
+    <LinearLayout\r
+        android:layout_width="25dp"\r
+        android:layout_height="match_parent"\r
+        android:gravity="center_vertical"\r
+        android:orientation="vertical">\r
+\r
+    <ImageView\r
+        android:id="@+id/sharedIcon"\r
+        android:layout_width="wrap_content"\r
+        android:layout_height="wrap_content"\r
+        android:layout_gravity="center"\r
+        android:layout_marginLeft="4dp"\r
+        android:layout_marginBottom="4dp"\r
+        android:layout_marginRight="4dp"\r
+        android:src="@drawable/sharedlink" />\r
+\r
+    <ImageView\r
+        android:id="@+id/sharedWithMeIcon"\r
+        android:layout_width="wrap_content"\r
+        android:layout_height="wrap_content"\r
+        android:layout_gravity="center"\r
+        android:layout_marginLeft="4dp"\r
+        android:layout_marginRight="4dp"\r
+        android:layout_marginTop="4dp"\r
+        android:src="@drawable/shared_with_me" />\r
+\r
+    </LinearLayout>\r
+\r
     <ImageView\r
         android:id="@+id/custom_checkbox"\r
         android:layout_width="wrap_content"\r