diff options
| author | knuthy <knuthy@gmail.com> | 2014-08-15 14:27:13 +0200 |
|---|---|---|
| committer | knuthy <knuthy@gmail.com> | 2014-08-15 14:27:13 +0200 |
| commit | 390a7ec82598ba25f3dfa536ae819e771393f65b (patch) | |
| tree | a111047c992019be2af65571475581d36cd89a4c /app/src/main/res/layout/child_row_layout.xml | |
| parent | e6ad605d1784886b8dd16af3db19f68f77a3ed0b (diff) | |
| download | HardenedPass-390a7ec82598ba25f3dfa536ae819e771393f65b.tar.gz HardenedPass-390a7ec82598ba25f3dfa536ae819e771393f65b.zip | |
first shot for improved expandable lists
Diffstat (limited to 'app/src/main/res/layout/child_row_layout.xml')
| -rw-r--r-- | app/src/main/res/layout/child_row_layout.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/res/layout/child_row_layout.xml b/app/src/main/res/layout/child_row_layout.xml new file mode 100644 index 00000000..a60ead53 --- /dev/null +++ b/app/src/main/res/layout/child_row_layout.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> + +<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" android:layout_width="match_parent" + android:layout_height="match_parent"> + + <ImageButton + android:id="@+id/crypto_delete_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ico_del" + android:background="@drawable/red_rectangle" + android:layout_gravity="center_vertical" + android:onClick="handleClick" + android:layout_column="1" + android:layout_row="0"/> + + <ImageButton + android:id="@+id/crypto_show_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ico_key" + android:background="@drawable/blue_rectangle" + android:layout_gravity="center_vertical" + android:layout_marginLeft="8dp" + android:onClick="handleClick" + android:layout_column="2" + android:layout_row="0"/> + +</GridLayout>
\ No newline at end of file |
