diff options
Diffstat (limited to 'res/xml/preferences_media.xml')
-rw-r--r-- | res/xml/preferences_media.xml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/res/xml/preferences_media.xml b/res/xml/preferences_media.xml new file mode 100644 index 0000000..99bd1f9 --- /dev/null +++ b/res/xml/preferences_media.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + + <!-- Settings --> + <PreferenceCategory + android:key="category_refresh" + android:title="@string/pref_media_settings"> + + <!-- Refresh Interval --> + <ListPreference + android:key="ui_media_refresh_interval" + android:title="@string/pref_media_settings_refresh_interval" + android:persistent="true" + android:entries="@array/refresh_intervals_labels" + android:entryValues="@array/refresh_intervals_values" + android:defaultValue="0" /> + + <!-- Refresh now --> + <Preference + android:key="ui_media_refresh_now" + android:title="@string/pref_media_settings_refresh_now" + android:summary="@string/pref_media_settings_refresh_now_summary" + android:persistent="false" /> + + </PreferenceCategory> + + <!-- Pictures --> + <PreferenceCategory + android:key="category_pictures" + android:title="@string/pref_media_pictures"> + + <!-- Refresh now --> + <Preference + android:key="ui_media_albums" + android:title="@string/pref_media_albums" + android:summary="@string/pref_media_albums_summary" + android:fragment="org.cyanogenmod.wallpapers.photophase.preferences.ChoosePicturesFragment" + android:persistent="false" /> + + </PreferenceCategory> + +</PreferenceScreen> |