<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/bgColor" android:orientation="vertical" tools:context="com.shunzhi.parent.ui.fragment.consult.ConsultOneLevelFragment"> <android.support.v4.widget.SwipeRefreshLayout android:id="@+id/swipeRefreshLayout" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="visible"> <android.support.v4.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <android.support.v7.widget.RecyclerView android:id="@+id/recyclerViewGrally" android:layout_width="match_parent" android:layout_height="180dp" android:background="@color/bgColor"></android.support.v7.widget.RecyclerView> <include layout="@layout/layout_textandimgshow" /> <android.support.v7.widget.RecyclerView android:id="@+id/recyclerViewConsultOne" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginLeft="@dimen/size_dp_10" android:layout_marginRight="@dimen/size_dp_10" android:layout_marginTop="@dimen/size_dp_10"></android.support.v7.widget.RecyclerView> </LinearLayout> </android.support.v4.widget.NestedScrollView> </android.support.v4.widget.SwipeRefreshLayout> </LinearLayout>