]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/menu/account_summary.xml
guard against a race condition when the transaction list is reduced while the scrolle...
[mobile-ledger.git] / app / src / main / res / menu / account_summary.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:app="http://schemas.android.com/apk/res-auto"
20     xmlns:android="http://schemas.android.com/apk/res/android">
21
22     <item
23         android:id="@+id/menu_acc_summary_only_starred"
24         android:checkable="true"
25         android:checked="false"
26         android:title="@string/menu_acc_summary_show_only_starred_title"
27         app:actionLayout="@layout/switch_item"
28         android:onClick="onShowOnlyStarredClicked"
29         app:showAsAction="never" />
30     <item android:id="@+id/menu_acc_summary_hide_selected"
31         android:icon="@drawable/ic_star_white_24dp"
32         android:title="@string/menu_acc_summary_hide_selected_title"
33         app:showAsAction="always"
34         android:visible="false"
35         />
36     <item android:id="@+id/menu_acc_summary_cancel_selection"
37         android:title="@string/menu_acc_summary_cancel_selection_title"
38         app:showAsAction="always"
39         android:visible="false"
40         android:onClick="onCancelAccSelection"
41         android:icon="@drawable/ic_cancel_white_24dp" />
42     <item android:id="@+id/menu_acc_summary_confirm_selection"
43         android:title="@string/menu_acc_summary_confirm_selection_title"
44         app:showAsAction="always"
45         android:visible="false"
46         android:onClick="onConfirmAccSelection"
47         android:icon="@drawable/ic_check_white_24dp" />
48 </menu>