]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/menu/account_summary.xml
hide accounts, shown when a global preference is checked
[mobile-ledger.git] / app / src / main / res / menu / account_summary.xml
index 9c527466dbc3d5ba629eb7d8da848fe62e2d0423..17f8525846a6414d6380ccce92bd81cc4c709c19 100644 (file)
         app:showAsAction="ifRoom" />
     <item
         android:id="@+id/menu_acc_summary_show_hidden"
-        android:title="@string/menu_acc_summary_show_hidden_accounts_title" />
+        android:checkable="true"
+        android:checked="false"
+        android:title="@string/menu_acc_summary_show_hidden_accounts_title"
+        app:actionLayout="@layout/switch_item"
+        android:onClick="onShowHiddenAccountsClicked"
+        app:showAsAction="never" />
 </menu>
\ No newline at end of file