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 Finishing the User Interface Introducing ScrollViews

shahaf cohen
shahaf cohen
1,896 Points

scrole view mass

when trying to move the image view and the text view to the relative layout inside the scrol view both of them going under the phone?? what can I do?

2 Answers

Ashraf Rahman
Ashraf Rahman
6,111 Points

I usually just adjust the height of the scroll view to wrap the content, see if that helps. you may also need to re-assign the positions of the views on the layout.

Daniel Newman
Daniel Newman
12,907 Points

If anyone else is having this problem which I had follow the steps that Ashraf has provided and make sure that the top of the Scroll View is constrained to the top of the page, that was the problem I was having :)