From: Damyan Ivanov Date: Sun, 9 Dec 2018 13:05:02 +0000 (+0000) Subject: make the Reset transaction menu item menu-only X-Git-Tag: v0.3~268 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=f29c2112fa58df7195207ad93b5abd6fedd016b0;p=mobile-ledger.git make the Reset transaction menu item menu-only 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 --- diff --git a/app/src/main/res/menu/new_transaction.xml b/app/src/main/res/menu/new_transaction.xml index 698dbda2..55fd1dd8 100644 --- a/app/src/main/res/menu/new_transaction.xml +++ b/app/src/main/res/menu/new_transaction.xml @@ -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" /> \ No newline at end of file