aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/folderpicker_content.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/folderpicker_content.xml')
-rw-r--r--app/src/main/res/layout/folderpicker_content.xml92
1 files changed, 92 insertions, 0 deletions
diff --git a/app/src/main/res/layout/folderpicker_content.xml b/app/src/main/res/layout/folderpicker_content.xml
new file mode 100644
index 0000000..a60e27f
--- /dev/null
+++ b/app/src/main/res/layout/folderpicker_content.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright (C) 2013 Adrian Ulrich <adrian@blinkenlights.ch>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+-->
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:dslv="http://schemas.android.com/apk/res-auto"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:focusable="true"
+ android:focusableInTouchMode="true" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <EditText
+ android:id="@+id/path_display"
+ android:layout_height="wrap_content"
+ android:layout_width="0dp"
+ android:layout_weight="2"
+ android:layout_marginLeft="@dimen/text_padding"
+ android:text="@string/empty" />
+ <Button
+ android:id="@+id/save_button"
+ android:layout_height="wrap_content"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:text="@string/empty" />
+
+ </LinearLayout>
+
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="2dp"
+ android:background="?android:attr/dividerHorizontal"
+ />
+
+ <com.mobeta.android.dslv.DragSortListView
+ android:id="@+id/list"
+ android:divider="@drawable/inset_divider"
+ android:dividerHeight="1dip"
+ android:layout_height="0px"
+ android:layout_width="fill_parent"
+ android:layout_weight="1"
+ android:choiceMode="none"
+ dslv:drag_enabled="false" />
+
+ <LinearLayout
+ android:id="@+id/folder_picker_spinner_container"
+ android:visibility="gone"
+ android:layout_width="fill_parent"
+ android:layout_height="@dimen/cover_size"
+ android:gravity="center_vertical"
+ android:orientation="horizontal" >
+ <TextView
+ android:text="@string/folder_picker_spinner_desc"
+ android:textColor="?overlay_foreground_color"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_marginLeft="@dimen/text_padding"
+ />
+ <Spinner
+ android:id="@+id/folder_picker_spinner"
+ android:entries="@array/folder_picker_spinner_entries"
+ android:layout_weight="2"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content" />
+ </LinearLayout>
+
+</LinearLayout>