How to identify devices that have virtual buttons to treat the space they occupy on the screen?
How to identify devices that have virtual buttons to treat the space they occupy on the screen?
How to identify devices that have virtual buttons to treat the space they occupy on the screen?
You can check if the device has the "virtual" button using the hasPermanentMenuKey of Android.
Example:
ViewConfiguration.get(context).hasPermanentMenuKey(); // retorna true | false