]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/menu/account_summary.xml
add flag to accounts indicating whether their commodity list is expanded
[mobile-ledger.git] / app / src / main / res / menu / account_summary.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   ~ Copyright © 2019 Damyan Ivanov.
4   ~ This file is part of MoLe.
5   ~ MoLe 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   ~ MoLe 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 MoLe. 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     xmlns:tools="http://schemas.android.com/tools"
22     tools:context="net.ktnx.mobileledger.ui.activity.MainActivity">
23
24     <item
25         android:id="@+id/menu_acc_summary_only_starred"
26         android:checkable="true"
27         android:checked="false"
28         android:title="@string/menu_acc_summary_show_only_starred_title"
29         app:actionLayout="@layout/switch_item"
30         app:showAsAction="never" />
31     <item android:id="@+id/menu_acc_summary_hide_selected"
32         android:icon="@drawable/ic_star_white_24dp"
33         android:title="@string/menu_acc_summary_hide_selected_title"
34         app:showAsAction="always"
35         android:visible="false"
36         />
37     <item android:id="@+id/menu_acc_summary_cancel_selection"
38         android:title="@string/menu_acc_summary_cancel_selection_title"
39         app:showAsAction="always"
40         android:visible="false"
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:icon="@drawable/ic_check_white_24dp" />
47 </menu>