| <?xml version="1.0" encoding="utf-8"?> | 
| <RelativeLayout 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_height="match_parent" | 
|     android:orientation="vertical"> | 
|   | 
|     <com.dayu.baselibrary.view.TitleBar | 
|         android:id="@+id/titleBar" | 
|         android:layout_width="match_parent" | 
|         android:layout_height="@dimen/dimen_title_height" | 
|         android:background="@color/title_bar_bg" | 
|         app:centerText="格式化卡片" | 
|         app:leftImage="@mipmap/icon_back" /> | 
|   | 
|     <LinearLayout | 
|         android:id="@+id/read_imgLL" | 
|         android:layout_width="match_parent" | 
|         android:layout_height="match_parent" | 
|         android:layout_below="@id/titleBar" | 
|         android:background="#ffffff" | 
|         android:orientation="vertical" | 
|         android:visibility="visible"> | 
|   | 
|         <TextView | 
|             android:layout_width="match_parent" | 
|             android:layout_height="wrap_content" | 
|             android:layout_below="@id/titleBar" | 
|             android:layout_marginTop="20dp" | 
|             android:gravity="center" | 
|             android:text="请将卡贴在设备上进行格式化" | 
|             android:textSize="@dimen/text_size" /> | 
|   | 
|   | 
|         <ImageView | 
|             android:layout_width="match_parent" | 
|             android:layout_height="match_parent" | 
|             android:layout_below="@id/textView" | 
|             android:scaleType="fitCenter" | 
|             android:src="@mipmap/nfc_write" /> | 
|     </LinearLayout> | 
|   | 
|     <com.wang.avi.AVLoadingIndicatorView | 
|         android:id="@+id/avi" | 
|         style="@style/AVLoadingIndicatorView" | 
|         android:layout_width="80dp" | 
|         android:layout_height="80dp" | 
|         android:layout_centerHorizontal="true" | 
|         android:layout_centerVertical="true" | 
|         android:visibility="invisible" | 
|         app:indicatorColor="@color/title_bg" | 
|         app:indicatorName="BallClipRotatePulseIndicator" /> | 
| </RelativeLayout> |