Closed indrih17 closed 5 years ago
Problem: Not all items are displayed at once, but if you swipe up-everything is visible.
Code:
SheetMenu().apply { menu = R.menu.delete_device_menu click = MenuItem.OnMenuItemClickListener { when (it.itemId) { ... } true } }.show(mContext)
Menu:
<menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:title="@string/sync_device" android:id="@+id/sync_device" /> <item android:title="@string/delete" android:id="@+id/delete_device" /> </menu>
Problem: Not all items are displayed at once, but if you swipe up-everything is visible.
Code:
Menu: