diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/chooser_list.xml | 16 | ||||
-rw-r--r-- | res/layout/list_item.xml | 7 | ||||
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | res/xml/preferences.xml | 4 |
4 files changed, 27 insertions, 2 deletions
diff --git a/res/layout/chooser_list.xml b/res/layout/chooser_list.xml new file mode 100644 index 0000000..53d28cd --- /dev/null +++ b/res/layout/chooser_list.xml @@ -0,0 +1,16 @@ +<?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="Choose" + android:id="@+id/btnChoose" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + +</LinearLayout> diff --git a/res/layout/list_item.xml b/res/layout/list_item.xml new file mode 100644 index 0000000..1fb2f8c --- /dev/null +++ b/res/layout/list_item.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?>
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="10dp"
+ android:textSize="16sp" >
+</TextView>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 53b27e2..4917c26 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -32,4 +32,6 @@ <string name="error_could_not_open_comic_archive">Could not open comic archive.</string>
<string name="error_out_of_memory">Out of memory</string>
<string name="error_loading_image">Error loading image</string>
+ <string name="error_could_not_read_folder_contents_">Could not read folder contents.</string>
+ <string name="picker_choose">Choose %1$s</string>
</resources>
\ No newline at end of file diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 06b6544..5ccf40b 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -2,11 +2,11 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<PreferenceCategory android:title="@string/prefs_general" >
- <EditTextPreference
+ <Preference
android:key="comics_directory"
android:hint="@string/comics_directory_default"
android:title="@string/prefs_comics_directory" >
- </EditTextPreference>
+ </Preference>
</PreferenceCategory>
<PreferenceCategory android:title="@string/prefs_reading" android:key="prefs_reading">
|