摘要: 一、获得LayoutInflater实例: LayoutInflater layoutInflater=LayoutInflater.from(context); 得到LayoutInflater实例之后,就可以调用他的inflate()方法来加载布局: layoutInflater.inflate 阅读全文
posted @ 2016-03-02 17:09 ChHM 阅读(846) 评论(0) 推荐(0) 编辑
摘要: 竖线 <View android:layout_width="1dip" android:layout_height="match_parent" android:background="#000000" android:layout_gravity="center_horizontal" /> 横 阅读全文
posted @ 2016-03-02 09:47 ChHM 阅读(771) 评论(0) 推荐(0) 编辑