Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build an Interactive Story App User Input Using EditText for Text Input

Andrew Izquierdo
Andrew Izquierdo
3,212 Points

The "android:layout_margin" properties do NOT show up in the text file, even tho i created the margins in design view...

I'm at the part where I am grabbing the left circle of the button and attaching it to the left side of the constraint parent. (then grabbing the right circle and dragging it to right side of constraint) I then change the margin from "8" to "0", as instructed in the video. But when i check out the text file , my text does not match the text file shown in the video.

These lines are missing from my text file, so i keep having to type these manually...: android:layout_marginLeft="0dp" android:layout_marginRight="0dp" android:layout_marginTop="0dp"

is there a reason why i have to keep manually entering these lines, instead of it adding automatically?

1 Answer

I have the same issue and running the app on my Samsung galaxy s8 the picture is too far away from the prompt for user input. At the same time, the button is very small at the bottom of the screen.