Files
device_oneplus_8750-common/DeviceSettings/res/xml/main.xml
elpaablo 3877d92c04 temp2
Change-Id: Ia38ffba8ac4da1fbd3a51d34dc6a6bb60982567a
2025-10-20 17:20:23 -07:00

115 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2021-2024 crDroid Android 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"
xmlns:settings="http://schemas.android.com/apk/res/org.lineageos.device.DeviceSettings">
<PreferenceCategory
android:key="slider"
android:title="@string/notification_slider_category_title">
<ListPreference
android:key="slider_usage"
android:icon="@drawable/ic_slider"
android:dialogTitle="@string/notification_slider_usage_title"
android:title="@string/notification_slider_usage_title"
android:entries="@array/notification_slider_usage_entries"
android:entryValues="@array/notification_slider_usage_entry_values"
android:summary="%s" />
<ListPreference
android:key="action_top_position"
android:icon="@drawable/ic_up_icon"
android:dialogTitle="@string/notification_slider_selection_dialog_title"
android:title="@string/notification_slider_top_position"
android:summary="%s" />
<ListPreference
android:key="action_middle_position"
android:icon="@drawable/ic_middle_icon"
android:dialogTitle="@string/notification_slider_selection_dialog_title"
android:title="@string/notification_slider_middle_position"
android:summary="%s" />
<ListPreference
android:key="action_bottom_position"
android:icon="@drawable/ic_down_icon"
android:dialogTitle="@string/notification_slider_selection_dialog_title"
android:title="@string/notification_slider_bottom_position"
android:summary="%s" />
</PreferenceCategory>
<!-- <PreferenceCategory
android:key="touchpanel"
android:title="@string/touchpanel_title">
<SwitchPreferenceCompat
android:key="edge_touch"
android:icon="@drawable/ic_edge_touch"
android:summary="@string/edge_touch_summary"
android:title="@string/edge_touch_title" />
<Preference
android:key="edge_touch_info"
android:icon="@drawable/ic_info_outline"
android:summary="@string/edge_touch_warning"
android:persistent="false"
android:selectable="false" />
<SwitchPreferenceCompat
android:key="game_mode"
android:icon="@drawable/ic_game_mode"
android:summary="@string/game_mode_summary"
android:title="@string/game_mode_title" />
<Preference
android:icon="@drawable/ic_info_outline"
android:summary="@string/game_mode_warning"
android:persistent="false"
android:selectable="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="usb"
android:title="@string/usb_title">
<SwitchPreferenceCompat
android:key="usb2_fast_charge"
android:icon="@drawable/ic_usb2_fc"
android:summary="@string/usb2_fc_summary"
android:title="@string/usb2_fc_title" />
</PreferenceCategory>-->
<PreferenceCategory
android:key="gaming"
android:title="@string/gaming_category_title">
<Preference
android:key="bypass_charging"
android:icon="@drawable/ic_bypass_charging"
android:title="@string/bypass_charging_title"
android:summary="@string/bypass_charging_summary"
android:fragment="org.lineageos.device.DeviceSettings.bypasschrg.BypassChargingFragment" />
<Preference
android:key="game_bar"
android:icon="@drawable/ic_game_bar"
android:title="@string/game_bar_title"
android:summary="@string/game_bar_summary"
android:fragment="org.lineageos.device.DeviceSettings.gamebar.GameBarFragment" />
</PreferenceCategory>
</PreferenceScreen>