我有一个带有进度条的dummylaylayView。android-在加载主布局之前加载进度条布局
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/progressbar">
<ProgressBar
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:id="@+id/progressBar" />
</RelativeLayout>
当我的应用程序启动时,我需要这个RelativelayoutView出现5秒钟,并应该有或没有动画。
[使用Glide库完成图像加载完成后设置进度条的可见性]的可能的副本(http://stackoverflow.com/questions/26054420/set-visibility-of-progress-bar-gone-on-completion -of-image-loading-using-glide-l) –