I am migrating my android xml layouts to compose and have hit an issue when trying to implement a drop down menu in compose that supports the following xml version of a dropdown menu
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:title="@string/my_title" android:enabled="false" />
<group android:id="@+id/my_group" android:checkableBehavior="single">
<item
android:id="@+id/my_allocate"
android:icon="@drawable/my_allocate"
android:title="@string/context_menu_allocate" />
<item
android:id="@+id/my_delete"
android:icon="@drawable/my_delete"
android:title="@string/context_menu_delete" />
<item
android:id="@+id/my_context"
android:icon="@drawable/my_context"
android:title="@string/context_menu" />
</group>
</menu>
is this possible in compose?
why doesnt androidx.compose.material3.DropdownMenu
&
androidx.compose.material3.DropdownMenuItem
support dading groups