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.
https://gist.github.com/Jogan/9def6110edf3247825c9
Any help is appreciated.
It was simple lol
fabButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v)
{
openOptionsMenu();
}