Add advanced settings ui
Change-Id: I8bfe4f8e18e9ece7bec243c0db795c49a12301e5
Signed-off-by: Joey <bevilacquajoey@gmail.com>
diff --git a/res/xml/advanced_settings.xml b/res/xml/advanced_settings.xml
new file mode 100644
index 0000000..4754dca
--- /dev/null
+++ b/res/xml/advanced_settings.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 Shift GmbH
+
+ 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"
+ xmlns:shift="http://schemas.android.com/apk/res/shiftos.platform"
+ android:key="button_settings"
+ android:title="@string/button_pref_title">
+
+ <shiftos.preference.ShiftSecureSettingSwitchPreference
+ android:key="advanced_mode"
+ android:title="@string/advanced_mode_title"
+ android:defaultValue="false" />
+
+ <com.shiftos.shiftparts.widget.WallOfTextPreference
+ android:summary="@string/advanced_mode_description" />
+</PreferenceScreen>