I am new to Android. I am creating a form to add users. As the form fields are many, I need to scroll down. I read that the ScrollView takes only one child view. I have wrapped my view inside a Linear Layout which is the direct child of the ScrollView.
<ScrollView android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/colorWhite" android:animateLayoutChanges="true" android:scrollbars="none"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <EditText... /> <EditText.../> <EditText... /> <EditText.../> <LinearLayout... > <LinearLayout... > <LinearLayout... > <TextView... /> </LinearLayout> <ScrollView/>