72 lines
2.7 KiB
XML
72 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2020 CherishOS 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"
|
|
android:title="@string/button_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<PreferenceCategory
|
|
android:key="navbar"
|
|
android:title="@string/navbar_title">
|
|
|
|
<Preference
|
|
android:title="@string/navbar_tuner_title"
|
|
android:icon="@drawable/ic_shortcuts">
|
|
<intent android:action="android.intent.action.MAIN"
|
|
android:targetPackage="com.android.systemui"
|
|
android:targetClass="com.android.systemui.tuner.NavBarActivity" />
|
|
</Preference>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="hardware_keys"
|
|
android:title="@string/hardware_keys_category" >
|
|
|
|
<com.cherish.settings.preferences.CustomSeekBarPreference
|
|
android:key="button_brightness"
|
|
android:title="@string/button_brightness_title"
|
|
android:max="255"
|
|
settings:min="0"
|
|
settings:units=""
|
|
android:persistent="false" />
|
|
|
|
<ListPreference
|
|
android:dialogTitle="@string/backlight_timeout_title"
|
|
android:entries="@array/backlight_timeout_entries"
|
|
android:entryValues="@array/backlight_timeout_values"
|
|
android:key="backlight_timeout"
|
|
android:persistent="false"
|
|
android:title="@string/backlight_timeout_title" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="volume_keys"
|
|
android:title="@string/volume_keys_title">
|
|
|
|
<Preference
|
|
android:key="volume_key"
|
|
android:fragment="com.cherish.settings.fragments.VolumeRockerSettings"
|
|
android:title="@string/volume_title" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="allow_incall_home"
|
|
android:title="@string/allow_incall_home_title"
|
|
android:summary="@string/allow_incall_home_summary"
|
|
android:defaultValue="true" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|