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 Using EditText for Text Input

Matthew Francis
Matthew Francis
6,967 Points

Layout_alignStart or Layout_alignLeft/right?

Don't they essentially do the same thing? In what scenario would you use left/right instead of start/end? I tried reading: http://stackoverflow.com/questions/25555953/whats-the-difference-between-the-layout-alignstart-tag-and-and-layout-alignleft

I tried reading the link above, but I couldnt really grasp how it can relate to consistency, could soemone clarify my mind?

1 Answer

Seth Kroger
Seth Kroger
56,413 Points

start/end are the same as either left/right. Which one depends on the device's language because some languages read right-to-left. So start is the side where you start reading, and end the side where you stop.

Matthew Francis
Matthew Francis
6,967 Points

I was literally thinking about the device programming languange and I was confused. But after I've read your comment they literaly mean languange as in English, French, etc haha

Thank you!