#11 How to create a floating context menu - Kotlin Android for beginners

Опубликовано: 14 Октябрь 2024
на канале: John Le Android
274
1

Subscribe my channel to receive new video:    / @johnleandroid  
Watch more here :    / @johnleandroid  
Source code: https://github.com/john-lq/android-ex...
ButtonBackground source code: https://github.com/john-lq/android-ex...

This is the contents of the video in the Kotlin Android for beginners serial:
How to create a floating context menu?
Create a menu resource folder.
Create an XML menu resource.
Add menu item.
Inflate options menu by overriding onCreateContextMenu() method.
Handle menu item click by overriding onCreateContextMenu() method.
Register for a view which can open the floating context menu.

If the video is helpful, please click Share and Subscribe

#kotlin,#kotlinandroidtutorial,#johnleandroid, #androidmenu, #androidcontextmenu, #floatingmenu, #androidresource, #androidstudio, #kotlinandroid, #kotlintutorial