I work in Android Studio 1.0 RC 2 and I have an Android Emulator with Intel HAXM. The emulator is running normally. It shows the hardware buttons, but this buttons is not clickable. The AVD configuration is default for Nexus S, but it's scale is 0.5.
It shows the hardware buttons, but this buttons is not clickable
If it shows HOME and BACK in the navigation bar, then they are not "the hardware buttons". That is the navigation bar. For actual "hardware" HOME and BACK buttons, you should not see anything, and the are mapped to Home and Esc respectively on your development machine's keyboard.
Go into the actual configuration file for your AVD. On OS X and Linux, that normally is ~/.android/avd/.../config.ini
, where ...
is based on the name of your AVD. See what your hw.mainKeys
value is. For "hardware" HOME and BACK buttons, hw.mainKeys
should be yes
; for a navigation bar with HOME and BACK buttons, hw.mainKeys
should be no
.
Based on @CommonsWare comment
@Plugie: I never use those skins, and I am not aware that those buttons are ever supposed to be clickable.
I recommend to set hw.mainKeys=no
Go into the actual configuration file for your AVD. On OS X and Linux, that normally is ~/.android/avd/.../config.ini, where ... is based on the name of your AVD. See what your hw.mainKeys value is
After set hw.mainKeys=no, it will show System Bar which can be seen in screen shoot which red rectangle. Then you can navigate BACK, HOME using System Bar instead of Hardware Button
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With