| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2018 The OmniROM Project |
| |
| This program is free software: you can redistribute it and/or modify |
| it under the terms of the GNU General Public License as published by |
| the Free Software Foundation, either version 2 of the License, or |
| (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
| |
| You should have received a copy of the GNU General Public License |
| along with this program. If not, see <http://www.gnu.org/licenses/>. |
| --> |
| <PreferenceScreen |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" |
| android:title="@string/lockscreen_item_title" |
| android:key="lockscreen_item"> |
| |
| <org.omnirom.omnilib.preference.SecureSettingSwitchPreference |
| android:key="lockscreen_visualizer_enabled" |
| android:title="@string/lockscreen_visualizer_enable" |
| android:summary="@string/lockscreen_visualizer_enable_summary" |
| android:defaultValue="false" /> |
| |
| <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
| android:key="lock_screen_visualizer_use_custom_color" |
| android:title="@string/lockscreen_visualizer_enable_custom" |
| android:summary="@string/lockscreen_visualizer_enable_custom_summary" |
| android:dependency="lockscreen_visualizer_enabled" |
| android:defaultValue="false" /> |
| |
| <org.omnirom.omnilib.preference.ColorSelectPreference |
| android:key="lock_screen_visualizer_custom_color" |
| android:title="@string/lockscreen_visualizer_custom_color" |
| android:dependency="lock_screen_visualizer_use_custom_color" |
| settings:multiColor="true" |
| settings:withAlpha="true" |
| android:defaultValue="0xffffffff" |
| android:dialogTitle="@string/lockscreen_visualizer_custom_color" /> |
| |
| <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
| android:key="lockscreen_battery_info" |
| android:title="@string/lockscreen_battery_info_title" |
| android:summary="@string/lockscreen_battery_info_summary" |
| android:defaultValue="true" /> |
| |
| <org.omnirom.omnilib.preference.SystemSettingSwitchPreference |
| android:key="lockscreen_weather_enabled" |
| android:title="@string/lockscreen_weather_title" |
| android:summary="@string/lockscreen_weather_summary" |
| android:defaultValue="false" /> |
| |
| <Preference |
| android:icon="@drawable/ic_info_outline_24dp" |
| android:persistent="false" |
| android:summary="@string/lockscreen_items_aod_info_title" /> |
| </PreferenceScreen> |
| |