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 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.