Android loading interface node display (Android Note 4)

In the recent surprise study of NFC, that one can be slowed down for the time being, and then continue to learn some small special effects of Android
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:gravity="center">
    <!--Default progress bar effect-->
    <ProgressBar
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        style="@android:style/Widget.ProgressBar"/>
<!--Small circle progress bar effect-->
    <!--Horizontal progress bar effect-->
    <ProgressBar
        style="@android:style/Widget.ProgressBar.Small"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:max="60"
        android:visibility="visible" />

    <ProgressBar
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        style="@android:style/Widget.ProgressBar.Horizontal"/>
<!--Normal progress bar-->
    <ProgressBar
        style="@android:style/Widget.ProgressBar.Inverse"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
    <!--Small progress bar-->
    <ProgressBar
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        style="@android:style/Widget.ProgressBar.Small.Inverse"/>
    <!--Large progress bar flip-->
    <ProgressBar
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        style="@android:style/Widget.ProgressBar.Large.Inverse"/>
</LinearLayout>
The final rendering is like this. It is enough to refer to the layout between the main parts and that will not be posted.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325571601&siteId=291194637