Vanavah Edwards
asked on
Increase the layout height and make it scrollable in Android Studio
If you look at the attached image, I have filled the screen with objects. However, I want to add more object but I need to scroll down so that I can add 3 more objects. How can I solved this problem? How can I increase the height of the layout and make the layout scrollable in design view in Android Studio so that I can add more objects from the palette setting?
Experts-Exchange-01.jpg
Experts-Exchange-01.jpg
Your outer layout must be a scrollview to enable you to place more elements inside and enable scrolling.
ASKER
Sorry I missed your comment. I thought no one was coming to help me. What you suggested seems like a solution.
How do I make my relative layout scrollview?
How do I make my relative layout scrollview?
ASKER
I have added scrollview to the right hand side of the layout layout - layout:width = width 25dp; layout:height match_parent. However, the whole phone scrolls up and not the white screen inside the phone. Is this how this is suppose to work? Because I still can't add elements.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank for such a prompt response. It worked. Problem solved. In a few minutes, I am about to post another problem on populating a listview. I cannot seem to get mines done. Look out for it.
ASKER
Prompt response. Knows his stuff.