Skip to content

nanjolnoSat/FlowLayout

Repository files navigation

FlowLayout

效果图

基于ViewGruop实现流式布局,由于在日常开发中已经习惯了鸿洋的百分比布局,所以在编写的时候都会
添加一堆百分比的属性来控制宽高等.
里面的PercentAbsoluteLayout是用来练手的,因为有一次无意中看到AbsoluteLayout的实现方式,
感觉原来他的实现方式的这么简单,所以就产生了自己写一个ViewGroup的想法.
kotlin view dsl已经顺带实现,用法:
flowLayout{
//code
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published