Advertisement
gimmeitorilltell

quicksettings.xml

Mar 15th, 2017
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2015-2016 The Dirty Unicorns 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. <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
  17. xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
  18. android:title="@string/quicksettings_category" >
  19.  
  20. <org.candyroms.candycane.preference.SecureSettingSwitchPreference
  21. android:key="qs_show_brightness"
  22. android:title="@string/qs_brightness_slider_title"
  23. android:summary="@string/qs_brightness_slider_summary"
  24. android:defaultValue="true"/>
  25.  
  26. <org.candyroms.candycane.preference.SecureSettingSwitchPreference
  27. android:key="qs_show_brightness_icon"
  28. android:title="@string/brightness_icon_title"
  29. android:summary="@string/brightness_icon_summary"
  30. android:dependency="qs_show_brightness"
  31. android:defaultValue="false"/>
  32.  
  33. <org.candyroms.candycane.preference.SystemSettingSwitchPreference
  34. android:key="status_bar_brightness_control"
  35. android:title="@string/status_bar_toggle_brightness"
  36. android:summary="@string/status_bar_toggle_brightness_summary"
  37. android:defaultValue="false" />
  38.  
  39. <org.candyroms.candycane.preference.SecureSettingSwitchPreference
  40. android:key="qs_data_advanced"
  41. android:title="@string/qs_advanced_data_title"
  42. android:summary="@string/qs_advanced_data_summary"
  43. android:defaultValue="false" />
  44.  
  45. <org.candyroms.candycane.preference.SecureSettingSwitchPreference
  46. android:key="qs_wifi_easy_toggle"
  47. android:title="@string/qs_wifi_easy_toggle_title"
  48. android:summary="@string/qs_wifi_easy_toggle_summary"
  49. android:defaultValue="false" />
  50.  
  51. <PreferenceCategory
  52. android:key="quicksettings_header"
  53. android:title="@string/qs_header_title" />
  54.  
  55. <org.candyroms.candycane.preference.SystemSettingSwitchPreference
  56. android:key="qs_settings_icon_toggle"
  57. android:title="@string/qs_settings_icon_title"
  58. android:summary="@string/qs_settings_icon_summary"
  59. android:disableDependentsState="true"
  60. android:defaultValue="true" />
  61.  
  62. <org.candyroms.candycane.preference.SystemSettingSwitchPreference
  63. android:key="qs_settings_expanded_toggle"
  64. android:title="@string/qs_settings_expanded_title"
  65. android:summary="@string/qs_settings_expanded_summary"
  66. android:dependency="qs_settings_icon_toggle"
  67. android:defaultValue="false" />
  68.  
  69. <org.candyroms.candycane.preference.SystemSettingSwitchPreference
  70. android:key="qs_edit_toggle"
  71. android:title="@string/qs_edit_title"
  72. android:summary="@string/qs_edit_summary"
  73. android:defaultValue="true" />
  74.  
  75. <org.candyroms.candycane.preference.SystemSettingSwitchPreference
  76. android:key="qs_multiuser_switch_toggle"
  77. android:title="@string/qs_multiuser_switch_title"
  78. android:summary="@string/qs_multiuser_switch_summary"
  79. android:defaultValue="true" />
  80.  
  81. <org.candyroms.candycane.preference.SystemSettingSwitchPreference
  82. android:key="qs_expand_indicator_toggle"
  83. android:title="@string/qs_expand_indicator_title"
  84. android:summary="@string/qs_expand_indicator_summary"
  85. android:defaultValue="true" />
  86.  
  87. <org.candyroms.candycane.preference.SystemSettingSwitchPreference
  88. android:key="qs_date_time_center"
  89. android:title="@string/qs_date_time_center_title"
  90. android:summary="@string/qs_date_time_center_summary"
  91. android:defaultValue="false" />
  92.  
  93. <PreferenceScreen
  94. android:key="status_bar_expanded_qs_settings"
  95. android:title="@string/status_bar_expanded_qs_settings"
  96. android:summary="@string/status_bar_expanded_qs_settings_summary"
  97. android:fragment="org.candyroms.candycane.fragments.StatusbarExpandedQSSettings" />
  98.  
  99. <ListPreference
  100. android:key="quick_pulldown"
  101. android:title="@string/quick_pulldown_title"
  102. android:entries="@array/quick_pulldown_entries"
  103. android:entryValues="@array/quick_pulldown_values"
  104. android:persistent="false" />
  105.  
  106. <PreferenceCategory
  107. android:title="@string/qs_omnijaws_category">
  108.  
  109. <PreferenceScreen
  110. android:title="@string/weather_config_title"
  111. android:summary="@string/weather_config_summary" >
  112. <intent android:action="android.intent.action.MAIN"
  113. android:targetPackage="org.omnirom.omnijaws"
  114. android:targetClass="org.omnirom.omnijaws.SettingsActivityService" />
  115. </PreferenceScreen>
  116.  
  117. <ListPreference
  118. android:key="weather_icon_pack"
  119. android:title="@string/weather_icon_pack_title"
  120. android:persistent="false" />
  121.  
  122. </PreferenceCategory>
  123.  
  124. <PreferenceCategory
  125. android:key="quicksettings_tiles_category"
  126. android:title="@string/quicksettings_tiles_category">
  127.  
  128. <ListPreference
  129. android:key="qs_tile_animation_style"
  130. android:title="@string/qs_tile_animation_style_title"
  131. android:entries="@array/qs_tile_animation_style_entries"
  132. android:entryValues="@array/qs_tile_animation_style_values"
  133. android:persistent="false" />
  134.  
  135. <ListPreference
  136. android:key="qs_tile_animation_duration"
  137. android:title="@string/qs_tile_animation_duration_title"
  138. android:entries="@array/qs_tile_animation_duration_entries"
  139. android:entryValues="@array/qs_tile_animation_duration_values"
  140. android:persistent="false" />
  141.  
  142. <ListPreference
  143. android:key="qs_tile_animation_interpolator"
  144. android:title="@string/qs_tile_animation_interpolator_title"
  145. android:entries="@array/qs_tile_animation_interpolator_entries"
  146. android:entryValues="@array/qs_tile_animation_interpolator_values"
  147. android:persistent="false" />
  148.  
  149. <org.candyroms.candycane.preference.CustomSeekBarPreference
  150. android:key="sysui_qqs_count_key"
  151. android:title="@string/qs_small_tiles_title"
  152. settings:max="8"
  153. settings:min="3"
  154. settings:units=""
  155. android:persistent="false" />
  156.  
  157. <PreferenceScreen
  158. android:key="qs_weather"
  159. android:title="@string/weather_title"
  160. android:summary="@string/weather_config_summary"
  161. android:fragment="org.candyroms.candycane.fragments.OmniJawsSettings" />
  162.  
  163. </PreferenceCategory>
  164.  
  165. </PreferenceScreen>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement