Android 在底部滚动时,如何使过卷效果更加明显
这是我的XML文件,我希望在底部滚动时能够使蓝色阴影的反弹效果更加明显Android 在底部滚动时,如何使过卷效果更加明显,android,scroll,android-recyclerview,swiperefreshlayout,Android,Scroll,Android Recyclerview,Swiperefreshlayout,这是我的XML文件,我希望在底部滚动时能够使蓝色阴影的反弹效果更加明显 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/explore_feed" a
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/explore_feed"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
tools:context="app.wanderast.activity.ExploreFeedActivity">
<include layout="@layout/explore_feed_header"
android:layout_height="wrap_content"
android:layout_width="match_parent"
/>
<android.support.v4.widget.SwipeRefreshLayout
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerView_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="60dp"
android:paddingBottom="100dp"
android:clipToPadding="false"
/>
</android.support.v4.widget.SwipeRefreshLayout>
<View
android:id="@+id/screen_overlay"
android:layout_marginTop="120dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/navbar"
android:layout_alignParentTop="true"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:background="@color/opaque"
android:visibility="gone"/>
<include
android:id="@+id/navbar"
layout="@layout/activity_main_app" />
</RelativeLayout>
这就是我要说的。我的屏幕确实显示了它,但它非常小,只发生一次。我希望通过向上拖动屏幕,即使在底部也能使蓝色阴影出现。我不知道如何做到这一点,但我可以告诉你,这种“蓝色阴影效果”在Android中被称为overscroll。可能有助于进一步谷歌搜索。我还发现这可能会有帮助。谢谢。更新了我的问题。不用担心,我发帖子只是为了帮你指引正确的方向。老实说,我甚至不确定你能不能定制这个。我不知道怎么做,但我可以告诉你,这种“蓝色阴影效果”在Android中被称为overscroll。可能有助于进一步谷歌搜索。我还发现这可能会有帮助。谢谢。更新了我的问题。不用担心,我发帖子只是为了帮你指引正确的方向。老实说,我甚至不确定你能不能定制这个。