summaryrefslogtreecommitdiffstats
path: root/android/source/res/layout/fragment_directory_browser.xml
diff options
context:
space:
mode:
Diffstat (limited to 'android/source/res/layout/fragment_directory_browser.xml')
-rw-r--r--android/source/res/layout/fragment_directory_browser.xml71
1 files changed, 71 insertions, 0 deletions
diff --git a/android/source/res/layout/fragment_directory_browser.xml b/android/source/res/layout/fragment_directory_browser.xml
new file mode 100644
index 000000000..37a61fa35
--- /dev/null
+++ b/android/source/res/layout/fragment_directory_browser.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical" android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#FFFFFF">
+
+ <LinearLayout
+ android:id="@+id/browser_header"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/up_image"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:src="@drawable/ic_menu_back"
+ android:scaleType="fitCenter"
+ android:adjustViewBounds="true"
+ android:contentDescription="@string/up_description"/>
+
+ <EditText
+ android:id="@+id/directory_header"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:maxLines="1"
+ android:scrollHorizontally="true"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:inputType="text"/>
+
+ <Button
+ android:id="@+id/directory_search_button"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:text="@string/search_label"/>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/browser_footer"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_alignParentBottom="true">
+
+ <Button
+ android:id="@+id/cancel_button"
+ android:layout_height="wrap_content"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:text="@string/cancel_label"/>
+
+ <Button
+ android:id="@+id/confirm_button"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/confirm_label"/>
+ </LinearLayout>
+
+ <ListView
+ android:id="@+id/directory_list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/browser_header"
+ android:layout_above="@id/browser_footer">
+ </ListView>
+
+
+</RelativeLayout> \ No newline at end of file