ScrollView嵌套RecyclerView时,显示不全,需要下拉才能看完全部,
解决办法:将RecyclerView的所有数据显示
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants">
<android.support.v7.widget.RecyclerView
android:id="@+id/infor_recycle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp"
android:background="#FFFFFF">
</android.support.v7.widget.RecyclerView>
</RelativeLayout>
并且设置Rv的 android:nestedScrollingEnabled="false",禁止Rv滑动
亲测有效