Android-shapeLoadingView 介绍
Android-shapeLoadingView是一款高仿新版58加载动画。
效果对比
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>
动画自动加载
Android-shapeLoadingView 官网
https://github.com/zzz40500/android-shapeLoadingView
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。