小编Kok*_*sho的帖子

如何在NestedScrollView中显示滚动条

嘿我在Activity中实现了一个NestedScrollView,但是我不能像在ScrollView中那样显示滚动条,你们可以.

我怎么展示它?

<android.support.v4.widget.NestedScrollView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/appBar">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:clipChildren="false"
            android:clipToPadding="false"
            android:orientation="vertical"
            android:paddingLeft="@dimen/dimen_2"
            android:paddingRight="@dimen/dimen_2">
        </LinearLayout>
</android.support.v4.widget.NestedScrollView>
Run Code Online (Sandbox Code Playgroud)

mobile android scrollbar scrollview nestedscrollview

8
推荐指数
2
解决办法
7184
查看次数