ZLayoutManager icon indicating copy to clipboard operation
ZLayoutManager copied to clipboard

流式布局的那个 如果嵌套NestedScrollView recyclerview 高度就不能自适应了 不管写match 还是写wrap 高度都是一个item的高度了

Open ynpl opened this issue 8 years ago • 0 comments

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical">

<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/rv"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

        </android.support.v7.widget.RecyclerView>

    </LinearLayout>
</android.support.v4.widget.NestedScrollView>

ynpl avatar Jul 11 '17 12:07 ynpl