摘要: 1. 定义布局文件,在layout下新建title_bar_view.xml 相关资源,在drawable下新建btn_back_selector.xml 2. 自定义View继承自RelativeLayoutpublic class TitleBar extends Re... 阅读全文
posted @ 2015-09-06 07:23 cbooy 阅读(194) 评论(0) 推荐(0)
摘要: @Test public void testObj2Json(){ // 定义对象 Person person = new Person(); person.setId(1); person.setName("jim"); ... 阅读全文
posted @ 2015-09-06 06:36 cbooy 阅读(378) 评论(0) 推荐(0)