这是我的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"
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>
This正是我所说的。我的屏幕显示它,但它非常小,只发生过一次。我希望通过向上拖动屏幕,即使在底部也会出现蓝色阴影。