]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/menu/account_summary.xml
convert the show hidden accounts item to a switch
[mobile-ledger.git] / app / src / main / res / menu / account_summary.xml
index 9c527466dbc3d5ba629eb7d8da848fe62e2d0423..d0d2f137671c1560a14be5bd7ace78e062575aa0 100644 (file)
@@ -10,5 +10,9 @@
         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"
+        app:showAsAction="never" />
 </menu>
\ No newline at end of file