aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2020-01-24 20:19:40 +0100
committerChristian Schneppe <christian.schneppe@pix-art.de>2020-01-24 20:19:40 +0100
commit67f244555c24b55bde4be9ad93c42388f69fd821 (patch)
treeb2e7bea3bc27305a0a1fa37ea99d7ef1722bc79e /src/main/res
parenta6dd8e45fa2c1c3b0a3473361ddd9f21d604fab8 (diff)
add scan qr button to welcome screen
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/menu/welcome_menu.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/res/menu/welcome_menu.xml b/src/main/res/menu/welcome_menu.xml
new file mode 100644
index 000000000..825af5445
--- /dev/null
+++ b/src/main/res/menu/welcome_menu.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"
+ app:showAsAction="ifRoom"
+ android:icon="?attr/icon_scan_qr_code"
+ android:orderInCategory="10"
+ android:title="@string/scan_qr_code"
+ android:visible="@bool/show_qr_code_scan" />
+</menu> \ No newline at end of file