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

Preference activity with a toolbar and a navigation drawer

Whats up treehousers I want to make the interface of options . For this I've checked on internet and found out that the best way is to make it with what is called preferences . The interface is going to have a toolbar and a navigation drawer. Can somebody tell me what is the best way to do it because I have done it somehow but the list of options start at the toolbar and not below it. And also when i slide from left to right i can't make my drawer appear. Thank you

1 Answer

The answer is also going to depend on what version of Android (the SDK level) you're using because of changes in the SDK from Froyo all the way to Marshmallow.

I have android:minSdkVersion="14" in my manifest so what is the best way to do it ?