|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
@@ -12,12 +13,17 @@
|
|
|
android:paddingTop="8dp"
|
|
android:paddingTop="8dp"
|
|
|
android:paddingBottom="8dp">
|
|
android:paddingBottom="8dp">
|
|
|
|
|
|
|
|
- <ImageView
|
|
|
|
|
|
|
+ <com.airbnb.lottie.LottieAnimationView
|
|
|
|
|
+ android:id="@+id/loading_lottie_view"
|
|
|
android:layout_width="14dp"
|
|
android:layout_width="14dp"
|
|
|
android:layout_height="14dp"
|
|
android:layout_height="14dp"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginStart="10dp"
|
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
|
- android:src="@mipmap/ic_loading" />
|
|
|
|
|
|
|
+ android:visibility="visible"
|
|
|
|
|
+ app:lottie_autoPlay="true"
|
|
|
|
|
+ app:lottie_fileName="lottie/anim_loading.json"
|
|
|
|
|
+ app:lottie_loop="true" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|