在不希望控件改变时滚动条滚动。那么设置次控件或者布局的属性
android:focusable="true"
android:focusableInTouchMode="true"
如下
<FrameLayout
android:focusable="true"
android:focusableInTouchMode="true"
android:id="@+id/framlayout_loan_info"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@color/white"
/>