From c8005910f8e84f79ac9ef2d1051a30adf48414f2 Mon Sep 17 00:00:00 2001 From: lixiaojun <16167479@qq.com> Date: Thu, 26 Aug 2021 17:52:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +--------- app/src/main/assets/lottie/live_loading.json | 1 + .../main/assets/lottie/live_loading/img_0.png | Bin 0 -> 4164 bytes 3 files changed, 2 insertions(+), 9 deletions(-) create mode 100644 app/src/main/assets/lottie/live_loading.json create mode 100644 app/src/main/assets/lottie/live_loading/img_0.png diff --git a/README.md b/README.md index 9697aab..9f7f48e 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Simple way to change your layout state, like loading, empty, error. Strong custo # Gradle -从1.2.3之后迁移到jitpack上了。[![](https://jitpack.io/v/li-xiaojun/StateLayout.svg)](https://jitpack.io/#li-xiaojun/StateLayout) +[![](https://jitpack.io/v/li-xiaojun/StateLayout.svg)](https://jitpack.io/#li-xiaojun/StateLayout) ``` implementation 'com.github.li-xiaojun:StateLayout:Tag' ``` @@ -29,14 +29,6 @@ allprojects { } ``` ------------------------------------ 分割线 --------------------------------------------- - -[ ![Download](https://api.bintray.com/packages/li-xiaojun/jrepo/statelayout/images/download.svg) ](https://bintray.com/li-xiaojun/jrepo/statelayout/_latestVersion) -``` -implementation 'com.lxj:statelayout:最新版本号' -``` - - # Usage 对Activity/Fragment使用: diff --git a/app/src/main/assets/lottie/live_loading.json b/app/src/main/assets/lottie/live_loading.json new file mode 100644 index 0000000..08ca86d --- /dev/null +++ b/app/src/main/assets/lottie/live_loading.json @@ -0,0 +1 @@ +{"v":"5.1.20","fr":12,"ip":0,"op":36,"w":120,"h":120,"nm":"合成 1","ddd":0,"assets":[{"id":"image_0","w":252,"h":252,"u":"images/","p":"img_0.png","e":0}],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"空 1","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[360]},{"t":36}],"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[50,50,0],"ix":1},"s":{"a":0,"k":[32,32,100],"ix":6}},"ao":0,"ip":0,"op":36,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":2,"nm":"椭圆形@3x.png","cl":"png","parent":1,"refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":0,"s":[50,96.875,0],"e":[50,1.367,0],"to":[4.73695171290616e-15,-15.91796875,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":9,"s":[50,1.367,0],"e":[50,96.875,0],"to":[0,0,0],"ti":[4.73695171290616e-15,-15.91796875,0]},{"t":18}],"ix":2,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"a":{"a":0,"k":[126,126,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":36,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":2,"nm":"椭圆形@3x.png","cl":"png","parent":1,"refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":0,"s":[103.125,18.75,0],"e":[9.375,76.562,0],"to":[-15.625,9.63541698455811,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":9,"s":[9.375,76.562,0],"e":[103.125,18.75,0],"to":[0,0,0],"ti":[-15.625,9.63541698455811,0]},{"t":18}],"ix":2,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"a":{"a":0,"k":[126,126,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":36,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":2,"nm":"椭圆形@3x.png","cl":"png","parent":1,"refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":0,"s":[1.562,20.312,0],"e":[90.625,70.313,0],"to":[14.84375,8.33333301544189,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":9,"s":[90.625,70.313,0],"e":[1.562,20.312,0],"to":[0,0,0],"ti":[14.84375,8.33333301544189,0]},{"t":18}],"ix":2,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"a":{"a":0,"k":[126,126,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":36,"st":0,"bm":0}],"markers":[]} \ No newline at end of file diff --git a/app/src/main/assets/lottie/live_loading/img_0.png b/app/src/main/assets/lottie/live_loading/img_0.png new file mode 100644 index 0000000000000000000000000000000000000000..d05c091f2f045e9a35f471eb94d0c9073fa22b95 GIT binary patch literal 4164 zcmXX~dpy(o8)vgkF0GqOD?~UUoYmyg;zS&42c5Zvv&p42gk0y+vJ>4%E@h|Ox=c07 z$Ym~Li=soU<64+~B{a$=N9MZUw|?i3&-e4ZKF{a%JkRI-c|OnUd4I2+aQ#(P38f?_ zC#Q;YK1KlNweLd_4u0Ls{|*7CO;OH1G2kr!W4IZ-90UdZB#)D^4$-FrVk4vFK25#mopUcQgs!6Pl#hjyrbLgHrfKFdOMP&~jxyWdGcr zxJwW?3>tA`x650py-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