Revert "Cherish: Custom Rounded Corner and Padding preferences [2/2] (WIP)"

This reverts commit 1349a471c6.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2021-05-25 11:53:54 +07:00
parent be809d0eaa
commit dd0755cd0a
4 changed files with 2 additions and 234 deletions

View File

@@ -901,16 +901,6 @@
<string name="allow_signature_fake">Allow signature spoofing</string>
<string name="allow_signature_fake_summary">Allow apps to bypass security systems by pretending to be a different app.</string>
<!-- Rounded corners -->
<string name="corners_category_title">Rounded corners (beta)</string>
<string name="corners_category_summary">Adjust rounded corners and padding</string>
<string name="corners_title">Customize rounded corners</string>
<string name="corner_radius">Rounded corner radius</string>
<string name="content_padding">Corner content padding</string>
<string name="corner_fwvals">Use framework values</string>
<string name="corner_fwvals_summary">Useful if the device actually has rounded corners</string>
<string name="unit_pixels">dp</string>
<!-- QS tile styles -->
<string name="qs_tile_style_title">QS tile style</string>
<string name="qstile_default">Default</string>
@@ -1137,4 +1127,5 @@
<string name="statusbar_icons_style_summary">Choose the style of your statusbar icons (requires SystemUI restart)</string>
<string name="header_icons_style">Colored Header Icons</string>
<string name="header_icons_style_summary">Choose the style of your notification headers icons (requires SystemUI restart)</string>
</resources>
</resources>

View File

@@ -83,18 +83,4 @@
android:fragment="com.cherish.settings.fragments.SmartPixels"
android:title="@string/smart_pixels_title"
android:summary="@string/smart_pixels_summary" />
<!-- Rounded Corners -->
<PreferenceCategory
android:key="rounded_corners_category"
android:title="@string/corners_category_title">
<PreferenceScreen
android:key="rounded_corners"
android:title="@string/corners_title"
android:icon="@drawable/ic_round"
android:summary="@string/corners_category_summary"
android:fragment="com.cherish.settings.fragments.RoundedCorners" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,47 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019 The PixelDust 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/corners_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sysui_rounded_fwvals"
android:title="@string/corner_fwvals"
android:icon="@drawable/ic_round"
android:defaultValue="true"
android:disableDependentsState="true" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="sysui_rounded_size"
android:title="@string/corner_radius"
android:max="60"
settings:min="0"
settings:units="@string/unit_pixels"
android:persistent="false"
android:dependency="sysui_rounded_fwvals" />
<!--com.cherish.settings.preferences.CustomSeekBarPreference
android:key="sysui_rounded_content_padding"
android:title="@string/content_padding"
android:max="30"
settings:min="0"
settings:units="@string/unit_pixels"
android:persistent="false"
android:dependency="sysui_rounded_fwvals" /-->
</PreferenceScreen>