Add a realtime monitoring service. https://redmine.stoutner.com/issues/750
[PrivacyCell.git] / app / src / main / res / xml / preferences.xml
index d31fafb73e5426f1553b8f057ff4c2080ce131b3..d41c3ca096e315ee627f04ee67dfa62483464146 100644 (file)
   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
+    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" />
+    </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>
\ No newline at end of file