<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@drawable/smart_show_loading_bg"
    android:gravity="center">

    <ProgressBar
        android:id="@+id/smart_show_loading_progress_bar"
        android:layout_width="20dp"
        android:layout_height="20dp"
        android:layout_gravity="center_horizontal"
        android:layout_margin="8dp"
        android:indeterminateBehavior="repeat"
        android:indeterminateDrawable="@drawable/smart_show_loading_anim"
        android:indeterminateOnly="true" />
</FrameLayout>