/android-shapeLoadingView

高仿新版58 加载动画

Primary LanguageJavaApache License 2.0Apache-2.0

#效果图先行#

58同城效果

实现的效果

#地址:# github 直达

Android Arsenal ###gradle
/build.gradle

repositories {
    maven {
        url "https://jitpack.io"
    }
}

/app/build.gradle

dependencies {
	        compile 'com.github.zzz40500:android-shapeLoadingView:1.0.3.2'
	}

#usage#

布局上


<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
    android:layout_height="match_parent"         android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
   android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">

    <com.mingle.widget.LoadingView
        android:id="@+id/loadView"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"/>
</RelativeLayout>

动画自动加载