DEV Community

simo el filo
simo el filo

Posted on

Option menu checkbox android problem

Hi

I have a problem with the option menu checkable item

Alt illustration of the problem

I want the checkbox be placed right of title not under it.

He is my option.xml

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <group android:checkableBehavior="single">
        <item android:id="@+id/notif"
            android:title="Notification"
            android:checkable = "true"/>
    </group>
</menu>
Enter fullscreen mode Exit fullscreen mode

Thanks.

Top comments (0)