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

navigation drawer

HELP!!!! i want to add a navigation drawer to the ribbit design...how do i do that please....

1 Answer

The easiest way to experiment with new layouts is to first check the IDE to see if it has that option to automatically generate the code for it. The latest Android Studio allows you to do this from File->New->Activity->"Navigation Drawer Activity". I'd recommend first doing this in a new project so that you can closely all the new code that the IDE will automatically generate.

Another great option is developer.android.com for more of a walkthrough with more details.

And, a great refresher on how the pattern works can be found at: https://developer.android.com/design/patterns/navigation-drawer.html