注:软件使用 fragment + RadioGroup 切换页面,未加载任何依赖包
效果
2020-06-06-115755-0.gif
实现步骤
第一步 增加base_loading.xml
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/id_loading_and_retry"
xmlns:tools="http://schemas.android.com/tools"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="horizontal"
android:gravity="center"
tools:context=".MainActivity">
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"/>
android:layout_height&