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

Which element is parent of these button image and edittext?

Is it relativeLayout which is parent of them? Is it the whole screen or can we think relativeLayout as screen itself?

and I did not get what isthe following code for? android:layout_alignParentLeft="true"

I didnt get also the following part: android:adjustViewBounds="true"

1 Answer

RelativeLayout is the parent