【发布时间】:2018-12-23 11:19:28
【问题描述】:
在我的 ExploreFragment.java 中,我有一个 NestedScrollView。我想删除它具有的这种“折叠”效果:
我尝试将此行添加到 XML android:overScrollMode="never",但它不起作用...
【问题讨论】:
在我的 ExploreFragment.java 中,我有一个 NestedScrollView。我想删除它具有的这种“折叠”效果:
我尝试将此行添加到 XML android:overScrollMode="never",但它不起作用...
【问题讨论】:
很好用。
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never">
<LinearLayout
android:id="@+id/llContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayout>
</androidx.core.widget.NestedScrollView>
【讨论】: