A Scroll View Can Have Only One Child Android Xml File
So, I want to have a scrollview on my layout. I did this and got a scroll view can only have one child :
<ScrollView...><LinearLayout>
....
<!-- you can have as many Views in here as you want --></LinearLayout></ScrollView>
So, the LinearLayout
in the above example would be your one direct child. And that child can have as many children as you want. Which means you can have all of your other LinearLayout
s inside that first one. But you can't have more than one on the same hierarchical level.
Post a Comment for "A Scroll View Can Have Only One Child Android Xml File"