aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/licenses.xml
diff options
context:
space:
mode:
authorLena <lena@omega>2026-08-01 00:00:00 +0000
committerLena <lena@omega>2026-08-01 00:00:00 +0000
commit852a8a00273c9128efeed0217a8e5d3fcd8bf780 (patch)
treec72f959731fa3c7c809cf1a0222363b6c9c9b03b /app/src/main/res/layout/licenses.xml
parentf379b93d52bf0dbd3816ec3f64d165314771d2a6 (diff)
downloadscrcpy-android-852a8a00273c9128efeed0217a8e5d3fcd8bf780.tar.gz
app: harden mirroring lifecycle and state
Diffstat (limited to 'app/src/main/res/layout/licenses.xml')
-rw-r--r--app/src/main/res/layout/licenses.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/src/main/res/layout/licenses.xml b/app/src/main/res/layout/licenses.xml
new file mode 100644
index 0000000..6ca02ab
--- /dev/null
+++ b/app/src/main/res/layout/licenses.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Plain scrolling text. The notices are wrapped at 78 columns in the
+ asset, so they are shown in a monospace face at a size that does not
+ re-wrap them into nonsense. -->
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/root"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="@dimen/space_lg">
+
+ <TextView
+ android:id="@+id/notices"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textColor="@color/on_surface"
+ android:textSize="12sp"
+ android:fontFamily="monospace"
+ android:textIsSelectable="true"/>
+
+</ScrollView>