You can use android:descendantFocusability attribute to control that descendants of ScrollView
should get focus or not. If you want that the ScrollView
should not scroll down automatically then set the value of android:descendantFocusability
attribute to blocksDescendants
and add this attribute to the LinearLayout
which is the child of ScrollView
.
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:orientation="vertical"
android:descendantFocusability="blocksDescendants" >