SecondaryScreen
SecondaryScreen copied to clipboard
SecondFloorView负一层加了RecyclerView无法滑动
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent">
<com.zhl.secondaryscreen.view.SecondFloorView
android:id="@+id/second_floor_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/tv_pull_header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="15dp"
android:background="@drawable/drawable_refresh_tv"
android:gravity="center"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:text="负一层aa点击返回主页"
android:textColor="#efefef"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<android.support.v7.widget.RecyclerView
android:id="@+id/device_list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.constraint.ConstraintLayout>
<!-- <ImageView-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- android:background="@mipmap/secondary_screen" />-->
<!-- <com.scwang.smartrefresh.layout.SmartRefreshLayout-->
<!-- android:id="@+id/refresh_layout"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent">-->
<!-- <com.zhl.secondaryscreen.view.CustomRefreshHeader-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content" />-->
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerview"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- </com.scwang.smartrefresh.layout.SmartRefreshLayout>-->
</com.zhl.secondaryscreen.view.SecondFloorView>
</android.support.constraint.ConstraintLayout>