Do I have to add views to a scrollView through code in order for the scroll to work anybody?
I have done scrollViews already adding the views through a loop no problem but,
I don't want to do this one through code as I have just spent half the day carefully arranging lots of buttons, text fields and and labels of different sizes for a Registration form.
Is there some code I need to add to make the thing scroll?
I don't want to do this one through code as I have just spent half the day carefully arranging lots of buttons, text fields and and labels of different sizes for a Registration form.
Unfortunately the views you added don't have the ScrollView as parent but the Activity.
You should add the views on a Panel in the Designer, only the views you want to have in the ScrollView, save it in a layout file and load this layout file onto the ScrollView.Panel. Then you must set the ScrollView.Panel.Height to the height of the panel in the layout file.
Thanks Klaus and Margaret, That example is exactly what I was looking for. So Not too much work in the end just going through all the views and changing their parent to the Panel. All working tickitiboo now.
Happy days...
Dunski