zoukankan      html  css  js  c++  java
  • gitHub-高仿58同城加载动画

    导入方式:

    /build.gradle

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

    /app/build.gradle

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

    使用方式:

    直接在xml布局文件上引入即可,动画会自动加载

    <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>

     github地址:https://github.com/zzz40500/android-shapeLoadingView

  • 相关阅读:
    裴蜀定理
    上下界网络流
    寻找符合子序列要求的区间个数
    小猪分配 , 最大流
    floyd + 最大流 (奶牛分配问题)
    抛硬币问题
    消消乐
    Entity Framework(1)
    冒泡排序
    二分法查找数据
  • 原文地址:https://www.cnblogs.com/shiwei-bai/p/4914121.html
Copyright © 2011-2022 走看看