]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/menu/account_summary.xml
Show only starred menu now works
[mobile-ledger.git] / app / src / main / res / menu / account_summary.xml
index 98d418a117bb8c74618f8cdf77b911fb796e31f7..93052102f3575cae2831abbc5604878557864ead 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
-  ~ Copyright © 2018 Damyan Ivanov.
+  ~ Copyright © 2019 Damyan Ivanov.
   ~ This file is part of Mobile-Ledger.
   ~ Mobile-Ledger is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
@@ -17,7 +17,9 @@
   -->
 
 <menu xmlns:app="http://schemas.android.com/apk/res-auto"
-    xmlns:android="http://schemas.android.com/apk/res/android">
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
+    tools:context="net.ktnx.mobileledger.ui.activity.MainActivity">
 
     <item
         android:id="@+id/menu_acc_summary_only_starred"
@@ -25,7 +27,6 @@
         android:checked="false"
         android:title="@string/menu_acc_summary_show_only_starred_title"
         app:actionLayout="@layout/switch_item"
-        android:onClick="onShowOnlyStarredClicked"
         app:showAsAction="never" />
     <item android:id="@+id/menu_acc_summary_hide_selected"
         android:icon="@drawable/ic_star_white_24dp"
         android:title="@string/menu_acc_summary_cancel_selection_title"
         app:showAsAction="always"
         android:visible="false"
-        android:onClick="onCancelAccSelection"
         android:icon="@drawable/ic_cancel_white_24dp" />
     <item android:id="@+id/menu_acc_summary_confirm_selection"
         android:title="@string/menu_acc_summary_confirm_selection_title"
         app:showAsAction="always"
         android:visible="false"
-        android:onClick="onConfirmAccSelection"
         android:icon="@drawable/ic_check_white_24dp" />
 </menu>
\ No newline at end of file