Cherish: Introduce Dynamic System Bars (DSB) [2/2]

Signed-off-by: ariffjenong <arifbuditantodablekk@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
ariffjenong
2023-02-01 14:19:49 +08:00
committed by Hưng Phan
parent c4589a0e08
commit bac9fe6f2d
4 changed files with 347 additions and 0 deletions

52
res/xml/dsb_settings.xml Normal file
View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2022 The Nusantara 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 android:title="@string/dynamic_system_bars_category_title"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto">
<SwitchPreference
android:title="@string/dynamic_status_bar_title"
android:key="DYNAMIC_STATUS_BAR_STATE"
android:summary="@string/dynamic_status_bar_summary" />
<SwitchPreference
android:title="@string/dynamic_navigation_bar_title"
android:key="DYNAMIC_NAVIGATION_BAR_STATE"
android:summary="@string/dynamic_navigation_bar_summary" />
<SwitchPreference
android:title="@string/dynamic_linked_color_status_bar_title"
android:key="LINKED_COLOR"
android:summary="@string/dynamic_linked_color_status_bar_summary" />
<SwitchPreference
android:title="@string/dynamic_icon_navigation_tint_title"
android:key="UI_COLOR"
android:summary="@string/dynamic_icon_navigation_tint_summary" />
<SwitchPreference
android:title="@string/dynamic_status_bar_filter_title"
android:key="DYNAMIC_STATUS_BAR_FILTER_STATE"
android:summary="@string/dynamic_status_bar_filter_summary" />
<SwitchPreference
android:title="@string/dynamic_silver_mode_status_bar_title"
android:key="ABU_ABU"
android:summary="@string/dynamic_silver_mode_status_bar_summary" />
<SwitchPreference
android:title="@string/dynamic_accent_mode_status_bar_title"
android:key="ACCENT_COLOR"
android:summary="@string/dynamic_accent_mode_status_bar_summary" />
</PreferenceScreen>