aboutsummaryrefslogtreecommitdiff
path: root/configpanel/res
diff options
context:
space:
mode:
Diffstat (limited to 'configpanel/res')
-rw-r--r--configpanel/res/drawable/ic_settings_additional_buttons.xml27
-rw-r--r--configpanel/res/mipmap-anydpi/ic_launcher.xml20
-rw-r--r--configpanel/res/mipmap-hdpi/ic_background.pngbin0 -> 2030 bytes
-rw-r--r--configpanel/res/mipmap-hdpi/ic_foreground.pngbin0 -> 10481 bytes
-rw-r--r--configpanel/res/mipmap-mdpi/ic_background.pngbin0 -> 1364 bytes
-rw-r--r--configpanel/res/mipmap-mdpi/ic_foreground.pngbin0 -> 5246 bytes
-rw-r--r--configpanel/res/mipmap-xhdpi/ic_background.pngbin0 -> 2545 bytes
-rw-r--r--configpanel/res/mipmap-xhdpi/ic_foreground.pngbin0 -> 17082 bytes
-rw-r--r--configpanel/res/mipmap-xxhdpi/ic_background.pngbin0 -> 3809 bytes
-rw-r--r--configpanel/res/mipmap-xxhdpi/ic_foreground.pngbin0 -> 34369 bytes
-rw-r--r--configpanel/res/mipmap-xxxhdpi/ic_background.pngbin0 -> 5218 bytes
-rw-r--r--configpanel/res/mipmap-xxxhdpi/ic_foreground.pngbin0 -> 57166 bytes
-rw-r--r--configpanel/res/values/styles.xml50
-rw-r--r--configpanel/res/xml/button_panel.xml47
14 files changed, 144 insertions, 0 deletions
diff --git a/configpanel/res/drawable/ic_settings_additional_buttons.xml b/configpanel/res/drawable/ic_settings_additional_buttons.xml
new file mode 100644
index 0000000..044fc23
--- /dev/null
+++ b/configpanel/res/drawable/ic_settings_additional_buttons.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2016 The CyanogenMod 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.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+ <path
+ android:fillColor="@android:color/white"
+ android:pathData="M17,1L7,1C5.9,1,5,1.9,5,3v2h2v4H5v12c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V3C19,1.9,18.1,1,17,1z
+M11,21H7v-2h4V21z M17,21 h-4v-2h4V21z" />
+</vector>
diff --git a/configpanel/res/mipmap-anydpi/ic_launcher.xml b/configpanel/res/mipmap-anydpi/ic_launcher.xml
new file mode 100644
index 0000000..d8649ba
--- /dev/null
+++ b/configpanel/res/mipmap-anydpi/ic_launcher.xml
@@ -0,0 +1,20 @@
+<?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
new file mode 100644
index 0000000..f01deeb
--- /dev/null
+++ b/configpanel/res/mipmap-hdpi/ic_background.png
Binary files differ
diff --git a/configpanel/res/mipmap-hdpi/ic_foreground.png b/configpanel/res/mipmap-hdpi/ic_foreground.png
new file mode 100644
index 0000000..97158bc
--- /dev/null
+++ b/configpanel/res/mipmap-hdpi/ic_foreground.png
Binary files differ
diff --git a/configpanel/res/mipmap-mdpi/ic_background.png b/configpanel/res/mipmap-mdpi/ic_background.png
new file mode 100644
index 0000000..58bcf52
--- /dev/null
+++ b/configpanel/res/mipmap-mdpi/ic_background.png
Binary files differ
diff --git a/configpanel/res/mipmap-mdpi/ic_foreground.png b/configpanel/res/mipmap-mdpi/ic_foreground.png
new file mode 100644
index 0000000..7b9bc07
--- /dev/null
+++ b/configpanel/res/mipmap-mdpi/ic_foreground.png
Binary files differ
diff --git a/configpanel/res/mipmap-xhdpi/ic_background.png b/configpanel/res/mipmap-xhdpi/ic_background.png
new file mode 100644
index 0000000..681a199
--- /dev/null
+++ b/configpanel/res/mipmap-xhdpi/ic_background.png
Binary files differ
diff --git a/configpanel/res/mipmap-xhdpi/ic_foreground.png b/configpanel/res/mipmap-xhdpi/ic_foreground.png
new file mode 100644
index 0000000..c079116
--- /dev/null
+++ b/configpanel/res/mipmap-xhdpi/ic_foreground.png
Binary files differ
diff --git a/configpanel/res/mipmap-xxhdpi/ic_background.png b/configpanel/res/mipmap-xxhdpi/ic_background.png
new file mode 100644
index 0000000..1e707e8
--- /dev/null
+++ b/configpanel/res/mipmap-xxhdpi/ic_background.png
Binary files differ
diff --git a/configpanel/res/mipmap-xxhdpi/ic_foreground.png b/configpanel/res/mipmap-xxhdpi/ic_foreground.png
new file mode 100644
index 0000000..ecc70af
--- /dev/null
+++ b/configpanel/res/mipmap-xxhdpi/ic_foreground.png
Binary files differ
diff --git a/configpanel/res/mipmap-xxxhdpi/ic_background.png b/configpanel/res/mipmap-xxxhdpi/ic_background.png
new file mode 100644
index 0000000..b6e860b
--- /dev/null
+++ b/configpanel/res/mipmap-xxxhdpi/ic_background.png
Binary files differ
diff --git a/configpanel/res/mipmap-xxxhdpi/ic_foreground.png b/configpanel/res/mipmap-xxxhdpi/ic_foreground.png
new file mode 100644
index 0000000..3133594
--- /dev/null
+++ b/configpanel/res/mipmap-xxxhdpi/ic_foreground.png
Binary files differ
diff --git a/configpanel/res/values/styles.xml b/configpanel/res/values/styles.xml
new file mode 100644
index 0000000..8dbdd4f
--- /dev/null
+++ b/configpanel/res/values/styles.xml
@@ -0,0 +1,50 @@
+<?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
new file mode 100644
index 0000000..43f4902
--- /dev/null
+++ b/configpanel/res/xml/button_panel.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 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.
+-->
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <SwitchPreference
+ android:key="button_swap"
+ android:title="@string/button_swap_title"
+ android:summary="@string/button_swap_summary" />
+
+ <PreferenceCategory
+ android:key="fp_key"
+ android:title="@string/fingerprint_title" >
+
+ <SwitchPreference
+ android:key="fp_home"
+ android:title="@string/fingerprint_as_home_title"
+ android:summary="@string/fingerprint_as_home_summary" />
+
+ <SwitchPreference
+ android:key="fp_wakeup"
+ android:title="@string/fingerprint_wakeup_title"
+ android:summary="@string/fingerprint_wakeup_summary" />
+
+ <SwitchPreference
+ android:key="fp_pocketmode"
+ android:title="@string/fingerprint_pocketmode_title"
+ android:summary="@string/fingerprint_pocketmode_summary"
+ android:dependency="fp_wakeup" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>