I've tried using the following code but no checkbox appear, only text :
<item
android:id="@+id/menuShowDue"
android:actionViewClass="android.widget.CheckBox"
android:title="@string/string_due"
android:checkable="true"
app:showAsAction="ifRoom" />
Is it not possible to add it via menu ? Should I do something else ?
I'm using android.support.v7.widget.Toolbar
as Toolbar.
CheckBox
, but no text .. :) – Inductee