Answers for "scrollview can host only one direct child"

4

scrollview can host only one direct child

<ScrollView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1" >
      <LinearLayout android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical">
           // all the views currently in your ScrollView
     </LinearLayout>
</ScrollView>
Posted by: Guest on June-03-2021

Code answers related to "scrollview can host only one direct child"

Browse Popular Code Answers by Language