summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-16 21:33:14 +0400
committerAndrew Dolgov <[email protected]>2012-10-16 21:33:14 +0400
commit0c553abd48bbdc115173d1342a2caff19c01cdd3 (patch)
tree3f3c54f1009342a4be2a1c8826358e63bcfe3969 /res
parentf8ad855635640196e989fa7b7db8a30f6e3d6f94 (diff)
allow opening parent directory in directory picker
Diffstat (limited to 'res')
-rw-r--r--res/layout/chooser_list.xml49
-rw-r--r--res/values/strings.xml1
2 files changed, 34 insertions, 16 deletions
diff --git a/res/layout/chooser_list.xml b/res/layout/chooser_list.xml
index b66982a..f4b4a12 100644
--- a/res/layout/chooser_list.xml
+++ b/res/layout/chooser_list.xml
@@ -1,16 +1,33 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
- <ListView android:id="@android:id/list"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_weight="1"/>
- <Button android:text="@string/choose"
- android:id="@+id/btnChoose"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"/>
-
-</LinearLayout>
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <ListView
+ android:id="@android:id/list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_weight="1" />
+
+ <LinearLayout
+ android:id="@+id/linearLayout2"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" >
+
+ <Button
+ android:id="@+id/btnParent"
+ android:layout_width="fill_parent"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:text="@string/open_parent" />
+
+ <Button
+ android:id="@+id/btnChoose"
+ android:layout_weight="1"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/choose" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 298d67e..5781715 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -51,4 +51,5 @@
<string name="prefs_sync">Sync</string>
<string name="prefs_clear_sync_data">Clear sync data</string>
<string name="prefs_clear_sync_data_summary">Removes all remotely stored sync data</string>
+ <string name="open_parent">Open parent</string>
</resources> \ No newline at end of file