--- /dev/null
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <Switch
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true" />
+</RelativeLayout>
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
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/menu_hide_acc"
+ android:onClick="hideAccountClicked"
+ android:title="@string/menu_hide_acc_title"
+ android:titleCondensed="@string/menu_hide_acc_condensed_title" />
+</menu>
\ No newline at end of file