android - menu button Problem in tablet? -


I will make Android applications. It is compatible for Android phones and tablets. But I have a problem with some tablets, there is no physical menu button in the tablet. All menu functionality in my app has been added to the device menu button How to manage menu button events in the tablet?

Then you can open onClickListeners using the menu

example For example, if you have image view in that page, you can open the menu for image click event

  image.setOnClickListener (New OnClickListener () {public Click Zero (see V) {openOptionsMenu ();}});    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -