<com.coui.appcompat.widget.COUILoadingView
android:id="@+id/progress_loading"
android:layout_width="@dimen/default_dp_20"
android:layout_height="@dimen/default_dp_20"
app:couiLoadingViewBgCircleColor="@color/transparent"
app:couiLoadingViewColor="@color/white_85"
app:couiLoadingViewHeight="@dimen/default_dp_20"
app:couiLoadingViewType="small"
app:couiLoadingViewWidth="@dimen/default_dp_20"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
添加这个依赖包
oneplusImplementation('com.coui.support:coui-support-appcompat-plus:12.1.2-beta10')