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 Build a Simple Android App (2014) Creating the Screen Layout Editing a Layout File

Kendall Reinhart
Kendall Reinhart
4,568 Points

Can't see mobile phone in the Design tab.

When I click on the "Text" tab at the bottom I can see the Mobile phone for editing, however when I click on the "Design" tab the Mobile phone disappears. Can you please help me with this issue?

Harry James
Harry James
14,780 Points

Hey Kendall!

I was looking through the questions from some of the videos and saw that yours was not answered.

Can I ask, were you able to resolve this? If not, I will try my best to help out :)

4 Answers

Dylan Merritt
Dylan Merritt
15,682 Points

Is there a reason why you need to see the preview of the phone while you are working in the design tab? The reason I ask is that while working in the design tab, you can see what the phone will look like right there as you are editing it. As far as I know, the phone preview is only meant to appear while you are working in the text editor mode.

Kendall Reinhart
Kendall Reinhart
4,568 Points

In the tutorial that I am working on we are editing the app in the design tab

Hi there, did did you figure it out because were having the same problem here preview won't show on the design tab but in text in does.

Dylan Merritt
Dylan Merritt
15,682 Points

Assuming that you guys having this problem are using android studio, there should be a button on the far right of the screen, right around the middle, that says preview. Click this button while in the text edit mode and it should give you what you're looking for.

Yep i noticed it on the text tab but it disappears when i click design tab. Is it because of my screen size is actually 11 inch.

Harry James
Harry James
14,780 Points

Hmm... What screen resolution are you using Alberry?

1366x768. I actually figured it out you just need to restart android studio :)

Harry James
Harry James
14,780 Points

Glad to hear you fixed it! :)

Note that your resolution is not actually meeting Android Studio's requirements so, it's possible you'll run into issues like this in the future because of this (However, your resolution is very close to the 1920x1080 aspect ratio, it's just a few decimals off so, this may make no difference to you whatsoever but, for other users it might).