Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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