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 Self-Destructing Message Android App Using Fragments for Tabs Modifying Tabs from the Template

Christiaan Hendriksen
Christiaan Hendriksen
5,982 Points

No tabs in Android Studio

I've followed the tutorial to this point, but I've never had the same layout as the video.

My activity_main.xml is a blank screen in design view, even though the text version is the same.

Where can I fix this problem to make the tabs and menubar show?

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Sorry for the trouble here (and my delayed response). In case you haven't gotten this working, or in case anyone else comes across this question, you need to first select "Tabbed Activity" when creating the project and then switch to Action Bar Tabs with ViewPager:

Imgur

Imgur