]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/menu/new_transaction_fragment.xml
first step towards pattern-assisted auto-filling of transactions
[mobile-ledger.git] / app / src / main / res / menu / new_transaction_fragment.xml
index c44acf51d777bafc5dc13b390f963b83dfec82f6..1fe3824330b8fc54a396d97f8c111835b01df46d 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
-  ~ Copyright © 2020 Damyan Ivanov.
+  ~ Copyright © 2021 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
   -->
 
 <menu xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:app="http://schemas.android.com/apk/res-auto">
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    >
+    <item
+        android:id="@+id/scan_qr"
+        android:icon="@drawable/ic_baseline_qr_code_scanner_24"
+        android:title="@string/scan_qr"
+        app:showAsAction="ifRoom"
+        />
     <item
         android:id="@+id/toggle_currency"
         android:title="@string/show_currency_input"
         android:checkable="true"
         android:checked="false"
         app:actionLayout="@layout/switch_item"
-        app:showAsAction="never" />
+        app:showAsAction="never"
+        />
     <item
         android:id="@+id/toggle_comments"
         android:checkable="true"