摘要: 布局private void ziDingYi_Dialog() {MyDialog_diy myDialog_diy = new MyDialog_diy(this);myDialog_diy.setTitle("韩墨羽");myDialog_diy.setMessage("真的好喜欢你");my 阅读全文
posted @ 2019-08-01 19:29 李艳艳665 阅读(174) 评论(0) 推荐(0) 编辑
摘要: public class MyDialog_diy extends Dialog { private Button yes;//确定按钮 private Button no;//取消按钮 private TextView titleTV;//消息标题文本 private TextView messa 阅读全文
posted @ 2019-08-01 19:28 李艳艳665 阅读(180) 评论(0) 推荐(0) 编辑
摘要: private void MyTimeDialog() { Calendar calendar = Calendar.getInstance(); new TimePickerDialog(this, new TimePickerDialog.OnTimeSetListener() { @Overr 阅读全文
posted @ 2019-08-01 19:28 李艳艳665 阅读(104) 评论(0) 推荐(0) 编辑
摘要: private void MyDateDialog() { Calendar calendar = Calendar.getInstance(); /** * @param context 上下文 * @param listener 监听器 */ new DatePickerDialog(this, 阅读全文
posted @ 2019-08-01 19:28 李艳艳665 阅读(172) 评论(0) 推荐(0) 编辑
摘要: private void MySpinnerDialog() { //TODO 1:构建者 final ProgressDialog dialog = new ProgressDialog(this); //TODO 2:设置属性 dialog.setIcon(R.mipmap.y); dialog 阅读全文
posted @ 2019-08-01 19:28 李艳艳665 阅读(126) 评论(0) 推荐(0) 编辑
摘要: private void MyHorizontalDialog() { //TODO 1:构建者 final ProgressDialog dialog = new ProgressDialog(this); //TODO 2:设置属性 dialog.setIcon(R.mipmap.y); dia 阅读全文
posted @ 2019-08-01 19:28 李艳艳665 阅读(286) 评论(0) 推荐(0) 编辑
摘要: public void MyDialog(){ //TODO 1:构建者 AlertDialog.Builder builder=new AlertDialog.Builder(this); //TODO 2:设置属性 builder.setTitle("老婆"); builder.setIcon( 阅读全文
posted @ 2019-08-01 19:28 李艳艳665 阅读(95) 评论(0) 推荐(0) 编辑
摘要: public void MyMuliteDialog(){ final String[] items={"许梦欣","王思萌","杨迪","徐可冉","赵璐","贺庆","黄珂","杨雅菲","韩墨羽"}; final boolean[] flag={true,false,false,false,f 阅读全文
posted @ 2019-08-01 19:27 李艳艳665 阅读(226) 评论(0) 推荐(0) 编辑
摘要: public void MySingleDialoy(){ //TODO 1:构建者 AlertDialog.Builder builder=new AlertDialog.Builder(this); //TODO 2:设置属性 builder.setIcon(R.drawable.ic_laun 阅读全文
posted @ 2019-08-01 19:27 李艳艳665 阅读(153) 评论(0) 推荐(0) 编辑
摘要: public void MyCustomDialog(){ //TODO 1:构建者 AlertDialog.Builder builder = new AlertDialog.Builder(this); //TODO 2:设置属性 builder.setTitle("韩墨羽"); builder 阅读全文
posted @ 2019-08-01 19:27 李艳艳665 阅读(173) 评论(0) 推荐(0) 编辑