自定义控件之视图篇:FlowLayout自适应容器实现

一、XML布局 从布局图中可以看到,FlowLayout中包含了很多TextView.难度不大,布局代码如下: 先定义一个style,这是为FlowLayout中的TextView定义的: <style name="text_flag_01">       <item name="android:layout_width">wrap_content</item>       <item name=
相关文章
相关标签/搜索