manas
manas

Reputation: 6400

How to hide black menu bar in android studio design preview?

I am new to android development. I want to hide the black menu bar that appears bottom of the screen. I want to hide this because it hides the content that aligns to the bottom of the screen in preview screen . I hope following picture will make clear what do i mean.

enter image description here

Upvotes: 4

Views: 4526

Answers (1)

ChiHang
ChiHang

Reputation: 136

You can change the virtual device to render a different layout. If you like to have a device without the soft-key button. You need to add your own "New Device Definition" with "New Hardware Profile".

enter image description here

Remember to uncheck "Has Hardware Button" in "New Hardware Profile".

You should see your new hardware profile after restarting Android Studio

enter image description here

Upvotes: 5

Related Questions