Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove button bar at the bottom screen

Tags:

android

I am building custom image.I going through android source, i want to get rid off bottom softkey button bar in android, Can some one please direct me to source file to change ? enter image description here

like image 224
Shri Avatar asked Sep 27 '13 11:09

Shri


People also ask

How do I remove the buttons from the bottom of my screen?

Touch “Settings” -> “Display” -> “Navigation bar” -> “Buttons” -> “Button layout”. Choose the pattern in “Hide navigation bar” -> When the app opens, the navigation bar will be automatically hidden and you can swipe up from the bottom corner of the screen to show it.

How do I change the bar at the bottom of my Android phone?

From Settings, tap Display, and then tap Navigation bar. Make sure Buttons is selected, and then you can choose your desired button setup at the bottom of the screen.

How do I hide my screen bar?

How can I make my taskbar disappear when it is in the way? Right click the taskbar and choose "Properties". In the menu that opens, click the option that says "Auto-hide the taskbar". This will cause the taskbar to disappear until you mouse over where it is on the screen.


2 Answers

To enable / disable them, as far as I know you simply have to edit the build.prop:

qemu.hw.mainkeys=0 (show on screen buttons) 

or

qemu.hw.mainkeys=1 (disable on screen buttons) 

If the line does not exist in your build.prop, add it at the bottom.

like image 59
damian Avatar answered Sep 29 '22 00:09

damian


The easiest way to take a screen shot without the bottom navigation bar is to use an emulator (AVD) and edit its config file.

Go to .android/avd/virtual-device.avd

Then edit the config.ini:

hw.mainKeys=yes hw.keyboard=yes 

Both should be set to "yes"

In order to be able to see the bar again, set them back to "no".

like image 37
Dimitar Darazhanski Avatar answered Sep 29 '22 01:09

Dimitar Darazhanski