【问题标题】:Remove collapsed effect in NestedScrollView移除 NestedScrollView 中的折叠效果
【发布时间】:2018-12-23 11:19:28
【问题描述】:

在我的 ExploreFragment.java 中,我有一个 NestedScrollView。我想删除它具有的这种“折叠”效果:

我尝试将此行添加到 XML android:overScrollMode="never",但它不起作用...

【问题讨论】:

    标签: java android xml


    【解决方案1】:

    很好用。

       <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>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-10-31
      • 2018-07-08
      • 1970-01-01
      • 1970-01-01
      • 2012-01-21
      • 1970-01-01
      相关资源
      最近更新 更多