diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/list_header.xml | 10 | ||||
-rw-r--r-- | res/layout/list_item.xml | 31 |
2 files changed, 41 insertions, 0 deletions
diff --git a/res/layout/list_header.xml b/res/layout/list_header.xml new file mode 100644 index 0000000..fcaf7a4 --- /dev/null +++ b/res/layout/list_header.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<TextView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/list_header_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="2dip" + android:paddingBottom="2dip" + android:paddingLeft="5dip" + style="?android:attr/listSeparatorTextViewStyle" />
\ No newline at end of file diff --git a/res/layout/list_item.xml b/res/layout/list_item.xml new file mode 100644 index 0000000..6c0641d --- /dev/null +++ b/res/layout/list_item.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TableLayout + android:id="@+id/TableLayout01" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + xmlns:android="http://schemas.android.com/apk/res/android" + android:stretchColumns="1" + > + <TableRow> + <TextView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/list_item_title" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:paddingTop="10dip" + android:paddingBottom="10dip" + android:paddingLeft="5dip" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_column="1" + /> + <TextView + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="@+id/list_item_other" + android:id="@+id/list_item_other" + android:textAppearance="?android:attr/textAppearanceSmall" + android:paddingRight="5dip" + android:gravity="right" /> + </TableRow> +</TableLayout> |