1
0
Fork 0
mirror of https://github.com/jrpie/Launcher.git synced 2025-05-05 01:54:22 +02:00

make lock screen dialog scrollable

This commit is contained in:
Josia Pietsch 2024-12-13 16:34:30 +01:00
parent aca7fe57d2
commit 8309b7c290
Signed by: jrpie
GPG key ID: E70B571D66986A2D
11 changed files with 45 additions and 39 deletions
app/src/main/res/layout

View file

@ -1,14 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_height="wrap_content"
android:padding="10dp">
<de.jrpie.android.launcher.ui.util.HtmlTextView
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<de.jrpie.android.launcher.ui.util.HtmlTextView
android:id="@+id/dialog_select_lock_method_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/screen_lock_method_dialog_text"
android:textColor="@android:color/black" />
</LinearLayout>
<Button
android:id="@+id/dialog_select_lock_method_button_accessibility"
android:text="@string/screen_lock_method_use_accessibility"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<Button
android:id="@+id/dialog_select_lock_method_button_device_admin"
android:text="@string/screen_lock_method_use_device_admin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
</ScrollView>