Diff of /trunk/OCMAndroid/res/layout/list_item.xml [r344] .. [r345]  Maximize  Restore

Switch to side-by-side view

--- a/trunk/OCMAndroid/res/layout/list_item.xml
+++ b/trunk/OCMAndroid/res/layout/list_item.xml
@@ -8,6 +8,7 @@
         android:layout_width="0dip"
         android:layout_height="wrap_content"
         android:layout_weight="1"
+        android:focusable="false"
         android:layout_gravity="left|center_vertical"
         android:textSize="24sp" />
 
@@ -16,17 +17,38 @@
         android:layout_height="match_parent"
         android:layout_marginBottom="8dp"
         android:layout_marginTop="8dp"
+        android:focusable="false"
+        android:background="@color/holo_grey" />
+    
+    <ImageView
+        android:id="@+id/listItem"
+        style="?borderlessButton"
+        android:src="?listAction"
+        android:layout_width="48dp"
+        android:layout_height="wrap_content"
+        android:layout_gravity="center|center_vertical"
+        android:layout_margin="4dp"
+        android:onClick="handleList"
+        android:contentDescription="@string/list"/>
+    
+    
+    <View
+        android:layout_width="1dp"
+        android:layout_height="match_parent"
+        android:layout_marginBottom="8dp"
+        android:layout_marginTop="8dp"
+        android:focusable="false"
         android:background="@color/holo_grey" />
 
-    <Button
+    <ImageView
         android:id="@+id/deleteItem"
+        android:src="?deleteAction"
         style="?borderlessButton"
-        android:layout_width="wrap_content"
+        android:layout_width="48dp"
         android:layout_height="wrap_content"
         android:layout_gravity="right|center_vertical"
         android:layout_margin="4dp"
-        android:focusable="false"
         android:onClick="handleDelete"
-        android:text="@string/delete" />
+        android:contentDescription="@string/delete" />
 
 </LinearLayout>

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks