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 an Interactive Story App (Retired) User Input Introducing ImageViews

Simplifying the Component Tree of activity_main.xml in Android Studio 1.5.1

I understand that the structure of the Blank Activity project has changed since this video was made. I'm trying to remove and simplify the components of activity_main to match what's in the video as closely as possible.

Here's what I have so far:

  • I set the theme to have an action bar
  • Removed the toolbar and the other views, so now I have an 'include' nested within a 'CustomView' nested within the Device Screen

My question is: Is it necessary to have that CustomView containing the include? Can I just include directly in the Device Screen? Or is that bad practice?

Also, how do I get the little three-dot menu in my Action Bar?