摘要: 1.XML解析 与 Json 解析 (文件读取一般较耗时 可将相应的解析做成方法 用线程调用) 一。XML解析 (pull解析)res/xml(资源文件 需用到Resources) Xml文本格式<words> <.word value="~"/> </words> 第一步//声明解析器(XmlPu 阅读全文
posted @ 2018-04-24 17:04 胡小华 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1.容器布局 一。线性布局 (LineaLayout) 方向:orientation =vertical / horizontal 重力(对齐) :gravity =bottom/right/left 对应常亮值为整形(int) 对齐常亮可通过管道符连接 int gravitys=bottom|ri 阅读全文
posted @ 2018-04-24 00:23 胡小华 阅读(284) 评论(0) 推荐(0) 编辑