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 Starting the App Setting Up the Project

Gamal Ali
seal-mask
.a{fill-rule:evenodd;}techdegree
Gamal Ali
Front End Web Development Techdegree Student 4,907 Points

Android Studio Navigation Type

I am building this with android studio, and my the very first problem that occurs is that I am not offered a "navigation type". Of course I could just copy the code you give, but for future reference how would I create a project with a specific navigation type?

1 Answer

Shariq Shaikh
Shariq Shaikh
13,945 Points

In the version of android studio that I am running, to replicate what Ben is doing in eclipse I configured the project and selected form factors which is done essentially the way Ben does it in eclipse. Here is where the differences arise but the same end result can be reached. In "add an activity to Mobile" I didn't choose blank activity. Instead I choose "Tabbed Activity" which for me was the last activity to choose from the given list. In the next and final set of options I was given the option to adjust my Navigation Style. To match what Ben did in eclipse I selected "Action Bar Tabs (with ViewPager)" and clicked finished. As far I can tell so far the project is identical to one in the video tutorial.