summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layouts/mastodon/layout/popup_qrcode.xml
diff options
context:
space:
mode:
authorThomas <tschneider.ac@gmail.com>2024-03-21 17:24:28 +0100
committerThomas <tschneider.ac@gmail.com>2024-03-21 17:24:28 +0100
commit86e8e639a3f6b6336e84b2344c2c501a19fc2659 (patch)
tree7a26553b3f8f89ee82d666e56e4b7cc4f0c25201 /app/src/main/res/layouts/mastodon/layout/popup_qrcode.xml
parent9907717638e408b41b9c88c8f1d41be36358827b (diff)
Create QR-Code for profile URL
Diffstat (limited to 'app/src/main/res/layouts/mastodon/layout/popup_qrcode.xml')
-rw-r--r--app/src/main/res/layouts/mastodon/layout/popup_qrcode.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/src/main/res/layouts/mastodon/layout/popup_qrcode.xml b/app/src/main/res/layouts/mastodon/layout/popup_qrcode.xml
new file mode 100644
index 000000000..f298ddf21
--- /dev/null
+++ b/app/src/main/res/layouts/mastodon/layout/popup_qrcode.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:orientation="vertical"
+ android:padding="12dp">
+
+ <ImageView
+ android:contentDescription="@string/qr_code_generator"
+ android:id="@+id/qrcode_image"
+ tools:src="@tools:sample/backgrounds/scenic"
+ android:scaleType="centerInside"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+
+</LinearLayout>