Hide logs behind authentication prompt

This commit is contained in:
ajp_anton
2026-07-26 15:15:45 +00:00
parent 6b93492a0e
commit 3bc71cdc61
2 changed files with 43 additions and 4 deletions
+24 -1
View File
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<se.ajpanton.notificationlog.SafeInsetDrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<se.ajpanton.notificationlog.SafeInsetDrawerLayout
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
@@ -61,3 +65,22 @@
app:menu="@menu/drawer_menu" />
</se.ajpanton.notificationlog.SafeInsetDrawerLayout>
<LinearLayout
android:id="@+id/lock_overlay"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/window_background"
android:clickable="true"
android:focusable="true"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Notification Log is locked"
android:textAppearance="?attr/textAppearanceHeadline6" />
</LinearLayout>
</FrameLayout>