user1903021 user1903021 - 3 months ago 18x
Android Question

Android floating Menu Key button for phones without menu key?

I'm trying to get my floating button to work as the menu key for android phones without menu keys also cause one of my apps required a menu key to display the menu list, now my problem is that i don't know how to create the on click function to bring out the menu using the code from the following location.

Any help is appreciated.
enter image description here


It was simple lol

fabButton.setOnClickListener(new View.OnClickListener() {
        public void onClick(View v)