mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-13 03:41:19 +08:00
优化界面以及大小
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/settings"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/reboot"
|
||||
android:title="@string/reboot" />
|
||||
<item
|
||||
android:id="@+id/reboot_ui"
|
||||
android:title="@string/reboot_ui" />
|
||||
</menu>
|
||||
@@ -1,16 +1 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.MyApplication" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
||||
<!-- Primary brand color. -->
|
||||
<item name="colorPrimary">@color/purple_200</item>
|
||||
<item name="colorPrimaryVariant">@color/purple_700</item>
|
||||
<item name="colorOnPrimary">@color/black</item>
|
||||
<!-- Secondary brand color. -->
|
||||
<item name="colorSecondary">@color/teal_200</item>
|
||||
<item name="colorSecondaryVariant">@color/teal_200</item>
|
||||
<item name="colorOnSecondary">@color/black</item>
|
||||
<!-- Status bar color. -->
|
||||
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
|
||||
<!-- Customize your theme here. -->
|
||||
</style>
|
||||
</resources>
|
||||
<resources />
|
||||
@@ -51,5 +51,7 @@
|
||||
<string name="main_switch">总开关</string>
|
||||
<string name="hide_gps_icon">隐藏 GPS 图标</string>
|
||||
<string name="hide_status_bar_network_speed_second">隐藏网速(/s)单位</string>
|
||||
<string name="menu">菜单</string>
|
||||
<string name="Tips">提示</string>
|
||||
|
||||
</resources>
|
||||
@@ -1,23 +1 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.MyApplication" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
||||
<!-- Primary brand color. -->
|
||||
<item name="colorPrimary">@color/purple_500</item>
|
||||
<item name="colorPrimaryVariant">@color/purple_700</item>
|
||||
<item name="colorOnPrimary">@color/white</item>
|
||||
<!-- Secondary brand color. -->
|
||||
<item name="colorSecondary">@color/teal_200</item>
|
||||
<item name="colorSecondaryVariant">@color/teal_700</item>
|
||||
<item name="colorOnSecondary">@color/black</item>
|
||||
<!-- Status bar color. -->
|
||||
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
|
||||
<!-- Customize your theme here. -->
|
||||
</style>
|
||||
<style name="Theme.MyApplication.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
</style>
|
||||
<style name="Theme.MyApplication.AppBarOverlay"
|
||||
parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||
<style name="Theme.MyApplication.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
||||
</resources>
|
||||
<resources />
|
||||
@@ -1,171 +0,0 @@
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="main_switch"
|
||||
app:title="@string/main_switch"
|
||||
app:defaultValue="true"/>
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/ui">
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="delete_on_post_notification"
|
||||
app:title="@string/delete_on_post_notification" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/statusbar">
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="status_bar_time_seconds"
|
||||
app:title="@string/status_bar_time_seconds" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="status_bar_network_speed_refresh_speed"
|
||||
app:title="@string/status_bar_network_speed_refresh_speed" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_status_bar_network_speed_second"
|
||||
app:title="@string/hide_status_bar_network_speed_second" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="remove_the_maximum_number_of_notification_icons"
|
||||
app:title="@string/remove_the_maximum_number_of_notification_icons" />
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/status_bar_icon">
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_gps_icon"
|
||||
app:title="@string/hide_gps_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_bluetooth_icon"
|
||||
app:title="@string/hide_bluetooth_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_bluetooth_battery_icon"
|
||||
app:title="@string/hide_bluetooth_battery_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_small_hd_icon"
|
||||
app:title="@string/hide_small_hd_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_big_hd_icon"
|
||||
app:title="@string/hide_big_hd_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_hd_no_service_icon"
|
||||
app:title="@string/hide_hd_no_service_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_sim_one_icon"
|
||||
app:title="@string/hide_sim_one_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_sim_two_icon"
|
||||
app:title="@string/hide_sim_two_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_no_sim_icon"
|
||||
app:title="@string/hide_no_sim_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_wifi_icon"
|
||||
app:title="@string/hide_wifi_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_hotspot_icon"
|
||||
app:title="@string/hide_hotspot_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_vpn_icon"
|
||||
app:title="@string/hide_vpn_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_airplane_icon"
|
||||
app:title="@string/hide_airplane_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_alarm_icon"
|
||||
app:title="@string/hide_alarm_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_headset_icon"
|
||||
app:title="@string/hide_headset_icon" />
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="hide_volume_zen_icon"
|
||||
app:title="@string/hide_volume_zen_icon" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/home">
|
||||
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="home_time"
|
||||
app:title="@string/home_time" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/performance">
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="lock_max_fps"
|
||||
app:title="@string/lock_max_fps" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/other">
|
||||
<SwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="disable_flag_secure"
|
||||
app:title="@string/disable_flag_secure" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/about">
|
||||
|
||||
<PreferenceScreen
|
||||
app:key="opensource"
|
||||
app:iconSpaceReserved="false"
|
||||
app:summary="@string/github_url"
|
||||
app:title="@string/opensource">
|
||||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
app:key="issues"
|
||||
app:iconSpaceReserved="false"
|
||||
app:summary="@string/issues_url"
|
||||
app:title="@string/issues">
|
||||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
app:key="dev_coolapk"
|
||||
app:iconSpaceReserved="false"
|
||||
app:summary="@string/dev_coolapk_name"
|
||||
app:title="@string/dev_coolapk">
|
||||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
app:key="verison"
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/verison">
|
||||
</PreferenceScreen>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user