diff options
author | Chih-Chung Chang <> | 2009-04-08 03:24:13 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-04-08 03:24:13 -0700 |
commit | 885e55815c304efe199bc220fd8473c69ece1138 (patch) | |
tree | 6577c91fa384f81959bab466a018e87e42efaaaa /res/xml | |
parent | 9ae6df03a2d07ef400ec80f60cf14263649bcba1 (diff) | |
download | LegacyCamera-885e55815c304efe199bc220fd8473c69ece1138.zip LegacyCamera-885e55815c304efe199bc220fd8473c69ece1138.tar.gz LegacyCamera-885e55815c304efe199bc220fd8473c69ece1138.tar.bz2 |
AI 145045: Code clean up.
Automated import of CL 145045
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/gallery_preferences.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/res/xml/gallery_preferences.xml b/res/xml/gallery_preferences.xml index 0ddc166..4ee2646 100644 --- a/res/xml/gallery_preferences.xml +++ b/res/xml/gallery_preferences.xml @@ -14,13 +14,14 @@ limitations under the License. --> -<!-- This is a primitive example showing the different types of preferences available. --> +<!-- This is the preference setting for Gallery. --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceCategory android:title="@string/pref_gallery_category"> + <!-- Display size --> <ListPreference android:key="pref_gallery_size_key" android:title="@string/pref_gallery_size_title" @@ -30,6 +31,7 @@ android:dialogTitle="@string/pref_gallery_size_dialogtitle" android:defaultValue="@string/default_value_pref_gallery_size" /> + <!-- Sort order --> <ListPreference android:key="pref_gallery_sort_key" android:title="@string/pref_gallery_sort_title" @@ -39,22 +41,18 @@ android:dialogTitle="@string/pref_gallery_sort_dialogtitle" android:defaultValue="@string/default_value_pref_gallery_sort" /> + <!-- Confirm deletions --> <CheckBoxPreference android:key="pref_gallery_confirm_delete_key" android:title="@string/pref_gallery_confirm_delete_title" android:summary="@string/pref_gallery_confirm_delete_summary" android:defaultValue="true"/> -<!-- - <EditTextPreference - android:key="pref_camera_upload_albumname_key" - android:title="@string/pref_camera_upload_albumname_title" - android:summary="@string/pref_camera_upload_albumname_summary" - android:dialogTitle="@string/pref_camera_upload_albumname_dialogtitle" - android:singleLine="true" /> ---> + </PreferenceCategory> <PreferenceCategory android:title="@string/pref_slideshow_category"> + + <!-- Slideshow interval --> <ListPreference android:key="pref_gallery_slideshow_interval_key" android:title="@string/pref_gallery_slideshow_interval_title" @@ -64,6 +62,7 @@ android:dialogTitle="@string/pref_gallery_slideshow_interval_dialogtitle" android:defaultValue="@string/default_value_pref_gallery_slideshow_interval" /> + <!-- Slideshow transition --> <ListPreference android:key="pref_gallery_slideshow_transition_key" android:title="@string/pref_gallery_slideshow_transition_title" @@ -73,12 +72,14 @@ android:dialogTitle="@string/pref_gallery_slideshow_transition_dialogtitle" android:defaultValue="@string/default_value_pref_gallery_slideshow_transition" /> + <!-- Repeat slideshow --> <CheckBoxPreference android:key="pref_gallery_slideshow_repeat_key" android:title="@string/pref_gallery_slideshow_repeat_title" android:summary="@string/pref_gallery_slideshow_repeat_summary" android:defaultValue="false"/> + <!-- Shuffle slides --> <CheckBoxPreference android:key="pref_gallery_slideshow_shuffle_key" android:title="@string/pref_gallery_slideshow_shuffle_title" |