2

I have a ScrollView inside which I am using ConstraintLayout. Now my ConstraintLayout has a lot of views inside it and user is suppose to scroll to view them (Obviously.) But I am using android studio layout editor and I am unable to place views beneath the views that are currently at the bottom.

What is the way around this issue? Other than I type them all in XML?

2 Answers2

0

In design mode, you can drag and drop views directly to the android visualization panel, but if it does not fit, also you can drop them in the Component Tree panel.

Mimmetico
  • 422
  • 9
  • 25
  • Okay. But what about the constraints? I don't think its possible to set constraints like we do in editor. –  May 15 '18 at 11:11
0

You can set fix height to ScrollView, say 1000 or 2000 dp until your done with designing UI so you can add views at bottom. Once done make it wrap_content

Akshay Panchal
  • 695
  • 5
  • 15