Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

iftekhar uddin
iftekhar uddin
4,194 Points

How to get rid of the bottom black bar in Android Studio Design Preview

Description of the problem:

While doing the android studio course i'll come across instructions like "now put your button at the bottom left hand corner." and they will continue to put it at the very bottom left.

When I try to do it, my button is put at the very bottom left (as indicated by the green lines along the phone that get highlighted) but it is covered up by the black bar.

When I run it in the emulator it looks fine. If I move the button so it looks ok on the preview, it is too high in the emulator.

Question: How do I get rid of this black bar or at least change something to fix this issue? I have looked all over the internet and I have found nothing useful.

(Every answer is from 2013 and tells me "there's nothing you can do." Normally I would accept this but this isn't something trivial. It prevents me from properly seeing and editing my app.