I have a recylerview with a option button in every item. On button click a popup menu is shown. In popup menu there must be a checkbox and a delete button as item. First menu item is checkbox. I have used following code.
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://ift.tt/nIICcg"
xmlns:app="http://ift.tt/GEGVYd"
xmlns:tools="http://ift.tt/LrGmb4"
>
<item
android:id="@+id/action_watch"
android:checkable="true"
android:title="Watch"
app:showAsAction="always"
/>
<item
android:id="@+id/action_delete"
android:icon="@drawable/ic_action_delete"
android:title="Remove"
app:showAsAction="withText|always"/>
</menu>
Problem is checkbox appears right of its text. I want it in left, but i can't. please help. TIA
Aucun commentaire:
Enregistrer un commentaire