Change-Id: I1e4ced6a7b7c963419fe1656e25b76f596a61959 Signed-off-by: Jason Edson <jaysonedson@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
51 lines
2.1 KiB
XML
51 lines
2.1 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="volume_category"
|
|
android:title="@string/volume_category">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="swap_volume_buttons"
|
|
android:title="@string/swap_volume_buttons_title"
|
|
android:summary="@string/swap_volume_buttons_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="volume_rocker_wake"
|
|
android:summary="@string/volume_rocker_wake_summary"
|
|
android:title="@string/volume_rocker_wake_title"
|
|
android:defaultValue="false" />
|
|
|
|
<Preference
|
|
android:key="vol_steps"
|
|
android:title="@string/volume_steps_fragment_title"
|
|
android:summary="@string/volume_steps_summary"
|
|
android:fragment="com.cherish.settings.fragments.VolumeStepsFragment" />
|
|
</PreferenceCategory>
|
|
|
|
<ListPreference
|
|
android:key="torch_power_button_gesture"
|
|
android:title="@string/torch_power_button_gesture_title"
|
|
android:entries="@array/torch_power_button_gesture_entries"
|
|
android:entryValues="@array/torch_power_button_gesture_values" />
|
|
|
|
|
|
</PreferenceScreen> |