Android Question Showing Overflow Menu with a Hardware Home Button

doncx

Active Member
Licensed User
Longtime User
I need to show the items on an overflow menu but have discovered (as many before me also have) that when the tablet has a hardware-based home button, then the 3-dot overflow menu button is not displayed and access to the items in it is cut off.

I found this helpful link to determining the presence of a hardware home button:

https://www.b4x.com/android/forum/threads/detect-hardware-button-exists-or-not.44181/#content

But it doesn't address how then to programatically make the overflow menu appear.

How can I do that?

I found this thread on StackOverflow, but don't know how to apply it to b4a:

http://stackoverflow.com/questions/...nu-item-in-action-bar-without-using-a-hack-me

Any assistance would be appreciated!
 

RandomCoder

Well-Known Member
Licensed User
Longtime User
Upvote 0

doncx

Active Member
Licensed User
Longtime User
Thanks for your suggestion, Random. In the end, I think I'll just bite the bullet and move to an Action Bar. My app is using old standards, so using the Action Bar will update it and retain simplicity. Nonetheless, thanks for pointing me to the AppCompat library. I'll keep it in mind for possible future needs.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…