]> git.ktnx.net Git - mobile-ledger.git/commitdiff
make the Reset transaction menu item menu-only
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 9 Dec 2018 13:05:02 +0000 (13:05 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 9 Dec 2018 13:05:02 +0000 (13:05 +0000)
letting it appear on the action bar is a bit confusing because it sits
right next to the Save item and it is too easy to click the wrong thing

app/src/main/res/menu/new_transaction.xml

index 698dbda2ba7780033227e2252071084df00cd0aa..55fd1dd8d2b896f333a017e0353d3f75335031f9 100644 (file)
@@ -21,5 +21,5 @@
         android:icon="@drawable/ic_refresh_white_24dp"
         android:onClick="resetTransactionFromMenu"
         android:title="@string/action_reset_new_transaction_activity_title"
-        app:showAsAction="ifRoom|withText" />
+        app:showAsAction="never" />
 </menu>
\ No newline at end of file