I have an overflow menu with a checkable menu item. I would like to align the checkbox all the way to the end, but I don't know how this can be done. My menu is defined like so:
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:icon="@drawable/ic_baseline_more_vert_24"
android:title=""
app:showAsAction="always">
<menu>
<item
android:id="@+id/desktop_site"
android:checkable="true"
android:checked="false"
android:icon="@drawable/ic_baseline_desktop_windows_24"
android:title="Desktop site"
app:showAsAction="never" />
</menu>
</item>
</menu>
from How to remove end padding of checkable menu item?
No comments:
Post a Comment