Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[r345]: trunk / OCMAndroid / res / layout / list_item.xml Maximize Restore History

Download this file

list_item.xml    54 lines (47 with data), 1.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:id="@+id/itemtext"
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" />
<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" />
<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" />
<ImageView
android:id="@+id/deleteItem"
android:src="?deleteAction"
style="?borderlessButton"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical"
android:layout_margin="4dp"
android:onClick="handleDelete"
android:contentDescription="@string/delete" />
</LinearLayout>