Files
notifications-master/app/src/main/res/layout/fragment_settings.xml
T
2026-07-28 04:02:17 +00:00

65 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:importantForAutofill="noExcludeDescendants">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/page_padding">
<Button
android:id="@+id/notification_access"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Enable notification access" />
<Button
android:id="@+id/export_logs"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Export logs" />
<Button
android:id="@+id/clear_logs"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Clear logs" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/app_lock"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="Lock app with phone unlock" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="Storage limits (MiB)" />
<EditText
android:id="@+id/log_limit_mib"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Log storage limit (MiB)"
android:inputType="number" />
<EditText
android:id="@+id/image_limit_mib"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Image storage limit (MiB)"
android:inputType="number" />
<Button
android:id="@+id/save_storage_limits"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Save storage limits" />
</LinearLayout>
</ScrollView>