![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
流式布局
疯狂键盘侠
键盘敲烂月薪三万.
展开
-
流式布局简单使用
流式布局简单使用FlowViewprotected void onLayout(boolean changed, int left, int top, int right, int bottom) {super.onLayout(changed, left, top, right, bottom);//获得控件宽度int width = getWidth();//定义常量行数int ...原创 2018-11-30 15:26:05 · 556 阅读 · 0 评论 -
自定义控件实现流式布局
自定义属性<resources> <declare-styleable name="flow"> <attr name="text_size" format="integer" /> <attr name="text_color" format="integer" /&a原创 2019-01-05 08:42:35 · 310 阅读 · 0 评论