• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- This is the preference setting for Gallery. -->
18<PreferenceScreen
19        xmlns:android="http://schemas.android.com/apk/res/android">
20
21    <PreferenceCategory
22            android:title="@string/pref_gallery_category">
23
24        <!-- Display size -->
25        <ListPreference
26                android:key="pref_gallery_size_key"
27                android:title="@string/pref_gallery_size_title"
28                android:summary="@string/pref_gallery_size_summary"
29                android:entries="@array/pref_gallery_size_choices"
30                android:entryValues="@array/pref_gallery_size_values"
31                android:dialogTitle="@string/pref_gallery_size_dialogtitle"
32                android:defaultValue="@string/default_value_pref_gallery_size" />
33
34        <!-- Sort order -->
35        <ListPreference
36                android:key="pref_gallery_sort_key"
37                android:title="@string/pref_gallery_sort_title"
38                android:summary="@string/pref_gallery_sort_summary"
39                android:entries="@array/pref_gallery_sort_choices"
40                android:entryValues="@array/pref_gallery_sort_values"
41                android:dialogTitle="@string/pref_gallery_sort_dialogtitle"
42                android:defaultValue="@string/default_value_pref_gallery_sort" />
43
44        <!-- Confirm deletions -->
45        <CheckBoxPreference
46                android:key="pref_gallery_confirm_delete_key"
47                android:title="@string/pref_gallery_confirm_delete_title"
48                android:summary="@string/pref_gallery_confirm_delete_summary"
49                android:defaultValue="true"/>
50
51    </PreferenceCategory>
52    <PreferenceCategory
53      android:title="@string/pref_slideshow_category">
54
55        <!--  Slideshow interval -->
56        <ListPreference
57                android:key="pref_gallery_slideshow_interval_key"
58                android:title="@string/pref_gallery_slideshow_interval_title"
59                android:summary="@string/pref_gallery_slideshow_interval_summary"
60                android:entries="@array/pref_gallery_slideshow_interval_choices"
61                android:entryValues="@array/pref_gallery_slideshow_interval_values"
62                android:dialogTitle="@string/pref_gallery_slideshow_interval_dialogtitle"
63                android:defaultValue="@string/default_value_pref_gallery_slideshow_interval" />
64
65        <!-- Slideshow transition -->
66        <ListPreference
67                android:key="pref_gallery_slideshow_transition_key"
68                android:title="@string/pref_gallery_slideshow_transition_title"
69                android:summary="@string/pref_gallery_slideshow_transition_summary"
70                android:entries="@array/pref_gallery_slideshow_transition_choices"
71                android:entryValues="@array/pref_gallery_slideshow_transition_values"
72                android:dialogTitle="@string/pref_gallery_slideshow_transition_dialogtitle"
73                android:defaultValue="@string/default_value_pref_gallery_slideshow_transition" />
74
75        <!-- Repeat slideshow -->
76        <CheckBoxPreference
77                android:key="pref_gallery_slideshow_repeat_key"
78                android:title="@string/pref_gallery_slideshow_repeat_title"
79                android:summary="@string/pref_gallery_slideshow_repeat_summary"
80                android:defaultValue="false"/>
81
82        <!-- Shuffle slides -->
83        <CheckBoxPreference
84                android:key="pref_gallery_slideshow_shuffle_key"
85                android:title="@string/pref_gallery_slideshow_shuffle_title"
86                android:summary="@string/pref_gallery_slideshow_shuffle_summary"
87                android:defaultValue="false"/>
88
89    </PreferenceCategory>
90</PreferenceScreen>
91