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 Android Tools Getting Started with Android Studio Fragments and Layouts

difference between AndroidStudio 0.4 VS AndroidStudeio 1.x

As I watched this video, it uses a very old version of Android Studio 0.4 and I believe if you compare it to the newer version 1.0, you can see a lot of difference. I couldn't find the Fragment file in Android Studio 1.0. Is it removed from this version? if yes, I think this video needs to be updated.

1 Answer

When you create your new activity to create it with fragment. then you will have the file your are looking for.(the second choice in the activity model look like blank activity+ a blue dashed rectangle)