BGAFlowLayout-Android

by bingoogolapple

bingoogolapple / BGAFlowLayout-Android

Android 流式布局,可配置是否将每一行的空白区域平均分配给子控件

208 Stars 50 Forks Last release: Not found 10 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

:running:BGAFlowLayout-Android:running:

Maven Central

Android流式布局,可配置是否将每一行的空白区域平均分配给子控件。

最开始是参考鸿洋_的这篇文章的思路实现的,后来根据产品经理出的需求,增加了将每一行的空白区域平均分配给子控件。

demo中分别演示了在xml使用方式和在java代码中动态添加

效果图

Image of 平均分配剩余空间 Image of 不平均分配剩余空间

Gradle依赖

dependencies {
    compile 'cn.bingoogolapple:bga-flowlayout:[email protected]'
}

自定义属性说明

    
    
    
    
    
    

关于我

| 新浪微博 | 个人主页 | 邮箱 | BGA系列开源库QQ群 | | ------------ | ------------- | ------------ | ------------ | | bingoogolapple | bingoogolapple.cn | [email protected] | BGA_CODE_CLUB |

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.