本文所述是通过自定义ProgressDialog实现弹出“加载中……”,效果如下图:
1、xml布局
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ll_dialog_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#00000000"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/round_bg"
android:gravity="center"
android:padding="10dp"
android:orientation="horizontal">
<ImageView
android:id="@+id/dialog_img"
android:lay
1万+



被折叠的 条评论
为什么被折叠?



