实现类似淘宝网颜色尺寸选择器

怎么才能实现颜色尺寸,在切换不同的颜色或尺寸的时候,根据库存量来设定尺寸或颜色显示的状态

http://blog.csdn.net/zxw136511485/article/details/50357354

你试试FlowLayout