Skip to content

Commit

Permalink
优化设置页面
Browse files Browse the repository at this point in the history
  • Loading branch information
Eanya-Tonic committed Oct 3, 2024
1 parent b8f4104 commit 9651956
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions app/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

<PreferenceCategory android:title="界面与操作设置">

<ListPreference
android:key="text_size"
android:title="换台抽屉字体"
Expand All @@ -20,6 +22,9 @@
android:title="换台抽屉直接返回"
android:summary="在换台抽屉中按返回键时,直接关闭抽屉,而不是返回上一级"
android:defaultValue="false" />
</PreferenceCategory>

<PreferenceCategory android:title="系统与内核设置">

<SwitchPreference
android:key="dual_webview"
Expand All @@ -32,5 +37,19 @@
android:title="强制使用系统内核"
android:summary="在系统WebView版本较高的设备上禁用X5内核"
android:defaultValue="true" />
</PreferenceCategory>

<PreferenceCategory android:title="关于">

<Preference
android:key="about"
android:title="电视浏览器"
android:summary="一个电视机顶盒及Android TV收看电视直播的浏览器 " />

<Preference
android:key="version"
android:title="版本号"
android:summary="Version 1.7.1" />
</PreferenceCategory>

</PreferenceScreen>

0 comments on commit 9651956

Please sign in to comment.