在登陆一些页面时,通常能看见“一闪而过”效果并进入页面。下面看看是怎样实现这样的效果的吧
首先,在布局里(可以说和平常没有什么不同),划线部分是进度条:
<RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android
xmlns:tools=http://schemas.android.com/tools
android:layout_width=match_parent
android:layout_height=match_parent
android:background=