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 Pro Tip - Crafting Custom Views

Great little presentation/slideshow you can look at here.

A good little breakdown for newcomers that don't understand what a "view" is/does.

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Awesome - thanks for sharing, Ernest Grzybowski!

To summarize a view for those who don't watch the presentation: a view is literally a rectangle on the screen of the phone or tablet. It could be the whole screen or just part of it. A view has two main responsibilities: draw everything inside the rectangle (like a button, for example), and respond to user actions inside that rectangle (like when the button is tapped).

Keep those Pro Tips coming Ernest and others! I'll try to pop some in the forum as well, but I also tweet about Android and iOS @bendog24, or you can search for the #AndroidDev hashtag.