]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/menu/new_transaction.xml
fix the 'Posting committed' switch in the profile editor
[mobile-ledger.git] / app / src / main / res / menu / new_transaction.xml
1 <?xml version="1.0" encoding="utf-8"?>
2     <!--
3   ~ Copyright © 2018 Damyan Ivanov.
4   ~ This file is part of Mobile-Ledger.
5   ~ Mobile-Ledger is free software: you can distribute it and/or modify it
6   ~ under the term of the GNU General Public License as published by
7   ~ the Free Software Foundation, either version 3 of the License, or
8   ~ (at your opinion), any later version.
9   ~
10   ~ Mobile-Ledger is distributed in the hope that it will be useful,
11   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13   ~ GNU General Public License terms for details.
14   ~
15   ~ You should have received a copy of the GNU General Public License
16   ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
17   -->
18
19 <menu xmlns:android="http://schemas.android.com/apk/res/android"
20         xmlns:app="http://schemas.android.com/apk/res-auto">
21         <item
22             android:id="@+id/action_submit_transaction"
23             android:icon="@drawable/ic_save_white_24dp"
24             android:onClick="saveTransactionFromMenu"
25             android:title="@string/action_submit_transaction_title"
26             android:visible="false"
27             app:showAsAction="always" />
28         <item
29             android:id="@+id/action_add_account"
30             android:icon="@drawable/svg_thick_plus_white"
31             android:onClick="addTransactionAccountFromMenu"
32             android:orderInCategory="100"
33             android:title="@string/menu_add_account"
34             android:visible="false"
35             app:showAsAction="never|ifRoom" />
36     <item
37         android:id="@+id/action_reset_new_transaction_activity"
38         android:icon="@drawable/ic_refresh_white_24dp"
39         android:onClick="resetTransactionFromMenu"
40         android:title="@string/action_reset_new_transaction_activity_title"
41         app:showAsAction="never" />
42 </menu>