aboutsummaryrefslogtreecommitdiff
path: root/configpanel/res
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2022-08-06 22:47:10 +0200
committerDavide Garberi <dade.garberi@gmail.com>2022-08-16 12:21:37 +0200
commit691a5872fcd5f8558a7ca8fab603a04efe258d50 (patch)
tree9d7552c7a3b6b795477986377096927b8abf45aa /configpanel/res
parent325062d359e60250ca50946eead7bd647caceaef (diff)
msm8996-common: configpanel: Update for 12 and cleanup
Change-Id: Ib7b28f04d83ee29aee73cf3bdf62f99cf99824fd
Diffstat (limited to 'configpanel/res')
-rw-r--r--configpanel/res/mipmap-anydpi/ic_launcher.xml20
-rw-r--r--configpanel/res/mipmap-hdpi/ic_background.pngbin2030 -> 0 bytes
-rw-r--r--configpanel/res/mipmap-hdpi/ic_foreground.pngbin10481 -> 0 bytes
-rw-r--r--configpanel/res/mipmap-mdpi/ic_background.pngbin1364 -> 0 bytes
-rw-r--r--configpanel/res/mipmap-mdpi/ic_foreground.pngbin5246 -> 0 bytes
-rw-r--r--configpanel/res/mipmap-xhdpi/ic_background.pngbin2545 -> 0 bytes
-rw-r--r--configpanel/res/mipmap-xhdpi/ic_foreground.pngbin17082 -> 0 bytes
-rw-r--r--configpanel/res/mipmap-xxhdpi/ic_background.pngbin3809 -> 0 bytes
-rw-r--r--configpanel/res/mipmap-xxhdpi/ic_foreground.pngbin34369 -> 0 bytes
-rw-r--r--configpanel/res/mipmap-xxxhdpi/ic_background.pngbin5218 -> 0 bytes
-rw-r--r--configpanel/res/mipmap-xxxhdpi/ic_foreground.pngbin57166 -> 0 bytes
-rw-r--r--configpanel/res/values/styles.xml50
-rw-r--r--configpanel/res/xml/button_panel.xml3
13 files changed, 2 insertions, 71 deletions
diff --git a/configpanel/res/mipmap-anydpi/ic_launcher.xml b/configpanel/res/mipmap-anydpi/ic_launcher.xml
deleted file mode 100644
index d8649ba..0000000
--- a/configpanel/res/mipmap-anydpi/ic_launcher.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (c) 2018 The LineageOS 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.
--->
-<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
- <background android:drawable="@mipmap/ic_background"/>
- <foreground android:drawable="@mipmap/ic_foreground"/>
-</adaptive-icon>
-
diff --git a/configpanel/res/mipmap-hdpi/ic_background.png b/configpanel/res/mipmap-hdpi/ic_background.png
deleted file mode 100644
index f01deeb..0000000
--- a/configpanel/res/mipmap-hdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/mipmap-hdpi/ic_foreground.png b/configpanel/res/mipmap-hdpi/ic_foreground.png
deleted file mode 100644
index 97158bc..0000000
--- a/configpanel/res/mipmap-hdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/mipmap-mdpi/ic_background.png b/configpanel/res/mipmap-mdpi/ic_background.png
deleted file mode 100644
index 58bcf52..0000000
--- a/configpanel/res/mipmap-mdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/mipmap-mdpi/ic_foreground.png b/configpanel/res/mipmap-mdpi/ic_foreground.png
deleted file mode 100644
index 7b9bc07..0000000
--- a/configpanel/res/mipmap-mdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/mipmap-xhdpi/ic_background.png b/configpanel/res/mipmap-xhdpi/ic_background.png
deleted file mode 100644
index 681a199..0000000
--- a/configpanel/res/mipmap-xhdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/mipmap-xhdpi/ic_foreground.png b/configpanel/res/mipmap-xhdpi/ic_foreground.png
deleted file mode 100644
index c079116..0000000
--- a/configpanel/res/mipmap-xhdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/mipmap-xxhdpi/ic_background.png b/configpanel/res/mipmap-xxhdpi/ic_background.png
deleted file mode 100644
index 1e707e8..0000000
--- a/configpanel/res/mipmap-xxhdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/mipmap-xxhdpi/ic_foreground.png b/configpanel/res/mipmap-xxhdpi/ic_foreground.png
deleted file mode 100644
index ecc70af..0000000
--- a/configpanel/res/mipmap-xxhdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/mipmap-xxxhdpi/ic_background.png b/configpanel/res/mipmap-xxxhdpi/ic_background.png
deleted file mode 100644
index b6e860b..0000000
--- a/configpanel/res/mipmap-xxxhdpi/ic_background.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/mipmap-xxxhdpi/ic_foreground.png b/configpanel/res/mipmap-xxxhdpi/ic_foreground.png
deleted file mode 100644
index 3133594..0000000
--- a/configpanel/res/mipmap-xxxhdpi/ic_foreground.png
+++ /dev/null
Binary files differ
diff --git a/configpanel/res/values/styles.xml b/configpanel/res/values/styles.xml
deleted file mode 100644
index 8dbdd4f..0000000
--- a/configpanel/res/values/styles.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014-2016 The CyanogenMod Project
- (C) 2017 The LineageOS 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.
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <style name="Theme.Main" parent="@android:style/Theme.DeviceDefault.Settings">
- <item name="preferenceCategoryStyle">@style/Theme.Main.PreferenceCategoryStyle</item>
- <item name="preferenceFragmentStyle">@style/Theme.Main.PreferenceFragmentStyle</item>
- <item name="preferenceStyle">@style/Theme.Main.PreferenceStyle</item>
- <item name="preferenceTheme">@style/Theme.Main.PreferenceTheme</item>
- <item name="switchPreferenceStyle">@style/Theme.Main.SwitchPreferenceStyle</item>
- </style>
-
- <style name="Theme.Main.PreferenceCategoryStyle" parent="@*android:style/Preference.DeviceDefault.Category">
- <item name="allowDividerAbove">true</item>
- <item name="allowDividerBelow">true</item>
- <item name="android:layout">@layout/preference_category_material_settings</item>
- </style>
-
- <style name="Theme.Main.PreferenceFragmentStyle" parent="@*android:style/PreferenceFragment.Material">
- <item name="allowDividerAfterLastItem">false</item>
- </style>
-
- <style name="Theme.Main.PreferenceStyle" parent="@*android:style/Preference.DeviceDefault">
- <item name="allowDividerAbove">false</item>
- <item name="allowDividerBelow">true</item>
- <item name="singleLineTitle">false</item>
- <item name="android:layout">@layout/preference_material_settings</item>
- </style>
-
- <style name="Theme.Main.PreferenceTheme">
- </style>
-
- <style name="Theme.Main.SwitchPreferenceStyle" parent="@style/Theme.Main.PreferenceStyle">
- <item name="widgetLayout">@*android:layout/preference_widget_switch</item>
- </style>
-</resources>
diff --git a/configpanel/res/xml/button_panel.xml b/configpanel/res/xml/button_panel.xml
index 6e13cb6..c0e77b4 100644
--- a/configpanel/res/xml/button_panel.xml
+++ b/configpanel/res/xml/button_panel.xml
@@ -15,7 +15,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/button_panel_title">
<PreferenceCategory
android:key="fp_key"