Need help with BGAFlowLayout-Android?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

bingoogolapple
209 Stars 51 Forks 10 Commits 0 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 2,379
Java
C
splash
sed
8 commits
# 3,656
Java
wechat
photopi...
Android
1 commit

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