]> gitweb.stoutner.com Git - PrivacyCell.git/blobdiff - app/src/main/res/xml/preferences.xml
Bump target API to 33. https://redmine.stoutner.com/issues/890
[PrivacyCell.git] / app / src / main / res / xml / preferences.xml
index d31fafb73e5426f1553b8f057ff4c2080ce131b3..95d0515bec31ebaf2ea8740e3479b3656f1e3f38 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright © 2021 Soren Stoutner <soren@stoutner.com>.
+  Copyright 2021-2022 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Cell <https://www.stoutner.com/privacy-cell>.
 
   You should have received a copy of the GNU General Public License
   along with Privacy Cell.  If not, see <http://www.gnu.org/licenses/>. -->
 
-<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
-    <SwitchPreferenceCompat
-        app:key="bottom_app_bar"
-        app:title="@string/bottom_app_bar"
-        app:summary="@string/bottom_app_bar_summary"
-        app:defaultValue="false" />
-</PreferenceScreen>
\ No newline at end of file
+<PreferenceScreen
+    xmlns:app="http://schemas.android.com/apk/res-auto" >
+
+    <PreferenceCategory
+        app:key="@string/monitoring_key"
+        app:title="@string/monitoring" >
+
+        <SwitchPreferenceCompat
+            app:key="@string/realtime_monitoring_key"
+            app:title="@string/realtime_monitoring"
+            app:summary="@string/realtime_monitoring_summary"
+            app:defaultValue="false" />
+
+        <Preference
+            app:key="@string/secure_network_notification_key"
+            app:title="@string/secure_network_notification" />
+
+        <Preference
+            app:key="@string/insecure_network_notification_key"
+            app:title="@string/insecure_network_notification" />
+
+        <Preference
+            app:key="@string/antiquated_network_notification_key"
+            app:title="@string/antiquated_network_notification" />
+
+        <SwitchPreferenceCompat
+            app:key="@string/consider_3g_antiquated_key"
+            app:title="@string/consider_3g_antiquated"
+            app:summary="@string/consider_3g_antiquated_summary"
+            app:defaultValue="false" />
+    </PreferenceCategory>
+
+    <PreferenceCategory
+        app:key="@string/interface_key"
+        app:title="@string/interface_title" >
+
+        <SwitchPreferenceCompat
+            app:key="@string/bottom_app_bar_key"
+            app:title="@string/bottom_app_bar"
+            app:summary="@string/bottom_app_bar_summary"
+            app:defaultValue="false" />
+    </PreferenceCategory>
+</PreferenceScreen>