aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout/file_dialog.xml
diff options
context:
space:
mode:
authorThialfihar <thialfihar@gmail.com>2010-07-26 21:57:28 +0000
committerThialfihar <thialfihar@gmail.com>2010-07-26 21:57:28 +0000
commit368f0a122f242e5de75dd48c245e480a928384e1 (patch)
treef023fb0ad9502b146113fa17c0fdd20c9758b72b /res/layout/file_dialog.xml
parentc1d9bbc644bf7657c586c64994f198f3c589884f (diff)
downloadopen-keychain-368f0a122f242e5de75dd48c245e480a928384e1.tar.gz
open-keychain-368f0a122f242e5de75dd48c245e480a928384e1.tar.bz2
open-keychain-368f0a122f242e5de75dd48c245e480a928384e1.zip
added an optional checkbox to the file dialog, can be used for instance to optionally delete files after importing them, and is used for that, also rearranged the option menu items for the main activity a little
Update issue 39 Added a new string: <string name="label_deleteAfterImport">Delete After Import</string>
Diffstat (limited to 'res/layout/file_dialog.xml')
-rw-r--r--res/layout/file_dialog.xml29
1 files changed, 21 insertions, 8 deletions
diff --git a/res/layout/file_dialog.xml b/res/layout/file_dialog.xml
index c42d2636e..bc5a2a214 100644
--- a/res/layout/file_dialog.xml
+++ b/res/layout/file_dialog.xml
@@ -18,19 +18,32 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:orientation="horizontal"
+ android:orientation="vertical"
android:paddingLeft="5dip"
android:paddingRight="5dip">
- <EditText
- android:id="@+id/input"
- android:layout_width="0dip"
+ <LinearLayout
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_weight="1"/>
+ android:orientation="horizontal">
- <ImageButton
- android:id="@+id/btn_browse"
- android:src="@drawable/ic_launcher_folder_small"
+ <EditText
+ android:id="@+id/input"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"/>
+
+ <ImageButton
+ android:id="@+id/btn_browse"
+ android:src="@drawable/ic_launcher_folder_small"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center_vertical"/>
+
+ </LinearLayout>
+
+ <CheckBox
+ android:id="@+id/checkbox"
android:layout_height="wrap_content"
android:layout_width="wrap_content"/>