SkeletonBlock
简介: 骨架屏弹性块
标签:
### 骨架屏弹性块
1.project.gradle
buildscript {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
2.app.gradle 添加
dependencies {
implementation 'com.github.TanZhiL:SkeletonBlock:1.0.6'
}
Usage:
- xml
<com.gykj.thomas.widget.SkeletonBlock
android:id="@+id/tv_title1"
android:layout_width="0dp"
app:sb_duration="600"
android:layout_height="12dp"
android:layout_marginStart="8dp"
android:background="#eeeeee"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/iv_cover1"
app:layout_constraintTop_toTopOf="@+id/iv_cover1" />
致谢
- 感谢所有开源库的大佬
问题反馈
欢迎加星,打 call https://github.com/TanZhiL/SkeletonBlock - email:1071931588@qq.com
关于作者
谭志龙开源项目
- 快速切面编程开源库 GitHub - TanZhiL/OkAspectj: 有人想要Android面向切面编程,今天他来了!轻松完成各种骚操作,登录状态拦截,日志拦截,权限拦截,轻松搞定!
- 高仿喜马拉雅听 Android 客户端 https://github.com/TanZhiL/Zhumulangma
- 骨架屏弹性块 GitHub - TanZhiL/SkeletonBlock: 骨架屏弹性块
- RxPersistence 是基于面向对象设计的快速持久化框架 GitHub - TanZhiL/RxPersistence: RxPersistence基于面向对象设计的快速持久化框架
License
``` Copyright (C) tanzhilong SkeletonBlock Framework Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0