OSDN Git Service

Eleven: request record audio permission for visualizer
[android-x86/packages-apps-Eleven.git] / res / xml / settings.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   Copyright (C) 2012 Andrew Neal
4   Copyright (C) 2014 The CyanogenMod Project
5
6   Licensed under the Apache License, Version 2.0 (the "License");
7   you may not use this file except in compliance with the License.
8   You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12   Unless required by applicable law or agreed to in writing, software
13   distributed under the License is distributed on an "AS IS" BASIS,
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   See the License for the specific language governing permissions and
16   limitations under the License.
17 -->
18 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
19
20     <!-- Data catetory -->
21     <!--<PreferenceCategory android:title="@string/settings_data_category" >-->
22
23         <!--&lt;!&ndash; Only on Wi-Fi &ndash;&gt;-->
24         <!--<CheckBoxPreference-->
25             <!--android:defaultValue="true"-->
26             <!--android:key="only_on_wifi"-->
27             <!--android:summary="@string/settings_download_only_on_wifi_summary"-->
28             <!--android:title="@string/settings_download_only_on_wifi_title" />-->
29         <!--&lt;!&ndash; Missing artwork &ndash;&gt;-->
30         <!--<CheckBoxPreference-->
31             <!--android:defaultValue="true"-->
32             <!--android:key="download_missing_artwork"-->
33             <!--android:title="@string/settings_download_missing_artwork_title" />-->
34         <!--&lt;!&ndash; Missing artist images &ndash;&gt;-->
35         <!--<CheckBoxPreference-->
36             <!--android:defaultValue="true"-->
37             <!--android:key="download_missing_artist_images"-->
38             <!--android:title="@string/settings_download_artist_images_title" />-->
39     <!--</PreferenceCategory>-->
40     <PreferenceCategory android:title="@string/settings_general_category" >
41
42         <!-- Music visualizer -->
43         <SwitchPreference
44             android:defaultValue="false"
45             android:key="music_visualization"
46             android:title="@string/settings_show_music_visualization_title" />
47
48         <!-- Show Lyrics -->
49         <SwitchPreference
50             android:defaultValue="true"
51             android:key="show_lyrics"
52             android:title="@string/settings_show_lyrics_title"
53             android:summary="@string/settings_show_lyrics_summary"/>
54
55         <!-- Shake to switch songs -->
56         <SwitchPreference
57             android:defaultValue="false"
58             android:key="shake_to_play"
59             android:title="@string/settings_shake_to_play"
60             android:summary="@string/settings_shake_to_play_summary"/>
61
62         <!-- Show album art on lockscreen -->
63         <SwitchPreference
64             android:defaultValue="true"
65             android:key="lockscreen_album_art"
66             android:title="@string/settings_lockscreen_album_art"
67             android:summary="@string/settings_lockscreen_album_art_summary"/>
68     </PreferenceCategory>
69     <!-- Storage catetory -->
70     <PreferenceCategory android:title="@string/settings_storage_category" >
71
72         <!-- Delete cache -->
73         <Preference
74             android:key="delete_cache"
75             android:summary="@string/settings_delete_cache_summary"
76             android:title="@string/settings_delete_cache_title" />
77     </PreferenceCategory>
78 </PreferenceScreen>