摘要: AlertDialog.Builder builder = new Builder(Context context) 得到一个context所在页面的弹出框, 可以是单选 builder.setSingleChoiceItems(items, checkedItem,listener) items为 阅读全文
posted @ 2016-01-27 22:25 凤雏小呆 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 常用的有三种 LinearLayout 线性布局 RelativeLayout相对布局 FrameLayout帧布局 特点: LinearLayout 线性布局 --> 1,默认是水平布局"horizontal" 可以设置为"vertical" 垂直布局 2,很有条理,写出来的布局比较直观,适合简单 阅读全文
posted @ 2016-01-27 22:15 凤雏小呆 阅读(1024) 评论(0) 推荐(0) 编辑