1 <?xml version="1.0" encoding="utf-8"?>
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.
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.
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/>.
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">
25 android:id="@+id/menu_acc_summary_only_starred"
26 android:checkable="true"
27 android:checked="false"
28 android:onClick="onOptionsMenuClicked"
29 android:title="@string/menu_acc_summary_show_only_starred_title"
30 app:actionLayout="@layout/switch_item"
31 app:showAsAction="never" />
32 <item android:id="@+id/menu_acc_summary_hide_selected"
33 android:icon="@drawable/ic_star_white_24dp"
34 android:title="@string/menu_acc_summary_hide_selected_title"
35 app:showAsAction="always"
36 android:visible="false"
37 android:onClick="onOptionsMenuClicked"
39 <item android:id="@+id/menu_acc_summary_cancel_selection"
40 android:title="@string/menu_acc_summary_cancel_selection_title"
41 app:showAsAction="always"
42 android:visible="false"
43 android:onClick="onOptionsMenuClicked"
44 android:icon="@drawable/ic_cancel_white_24dp" />
45 <item android:id="@+id/menu_acc_summary_confirm_selection"
46 android:title="@string/menu_acc_summary_confirm_selection_title"
47 app:showAsAction="always"
48 android:visible="false"
49 android:onClick="onOptionsMenuClicked"
50 android:icon="@drawable/ic_check_white_24dp" />