aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-01-27 10:04:27 +0100
committerChristian Schneppe <christian@pix-art.de>2019-01-27 10:04:27 +0100
commit7b9ced9fb752ee485b657daf6d827f311ed6e8bc (patch)
tree54d04fa44cca9bcfce6e42044a1daa983ac17084 /src/main/res
parent975ee957b29f5ae41bf2cbb516b76fea1e42997e (diff)
WelcomeActivity: Add QR code scanner button
picked from https://github.com/siacs/Conversations/pull/2920
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/menu/welcome.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/res/menu/welcome.xml b/src/main/res/menu/welcome.xml
new file mode 100644
index 000000000..b767dc0f4
--- /dev/null
+++ b/src/main/res/menu/welcome.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <item
+ android:id="@+id/action_scan_qr_code"
+ android:icon="?attr/icon_scan_qr_code"
+ android:title="@string/scan_qr_code"
+ app:showAsAction="always" />
+
+</menu> \ No newline at end of file