]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/menu/new_transaction.xml
replace add account floating action button with a menu item
[mobile-ledger.git] / app / src / main / res / menu / new_transaction.xml
diff --git a/app/src/main/res/menu/new_transaction.xml b/app/src/main/res/menu/new_transaction.xml
new file mode 100644 (file)
index 0000000..056bfb2
--- /dev/null
@@ -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_add_account"
+            android:icon="@drawable/svg_thick_plus_white"
+            android:onClick="addTransactionAccountFromMenu"
+            android:orderInCategory="100"
+            android:title="@string/menu_add_account"
+            app:showAsAction="never|ifRoom" />
+</menu>
\ No newline at end of file