摘要:
private void MyHorizontalDialog() { //TODO 1:构建者 final ProgressDialog dialog = new ProgressDialog(this); //TODO 2:设置属性 dialog.setIcon(R.mipmap.y); dia 阅读全文
摘要:
private void MySpinnerDialog() { //TODO 1:构建者 final ProgressDialog dialog = new ProgressDialog(this); //TODO 2:设置属性 dialog.setIcon(R.mipmap.y); dialog 阅读全文
摘要:
private void MyDateDialog() { Calendar calendar = Calendar.getInstance(); /** * @param context 上下文 * @param listener 监听器 */ new DatePickerDialog(this, 阅读全文
摘要:
private void MyTimeDialog() { Calendar calendar = Calendar.getInstance(); new TimePickerDialog(this, new TimePickerDialog.OnTimeSetListener() { @Overr 阅读全文
摘要:
public class MyDialog_diy extends Dialog { private Button yes;//确定按钮 private Button no;//取消按钮 private TextView titleTV;//消息标题文本 private TextView messa 阅读全文
摘要:
public void MyCustomDialog(){ //TODO 1:构建者 AlertDialog.Builder builder = new AlertDialog.Builder(this); //TODO 2:设置属性 builder.setTitle("韩墨羽"); builder 阅读全文
摘要:
public void MySingleDialoy(){ //TODO 1:构建者 AlertDialog.Builder builder=new AlertDialog.Builder(this); //TODO 2:设置属性 builder.setIcon(R.drawable.ic_laun 阅读全文
摘要:
public void MyMuliteDialog(){ final String[] items={"许梦欣","王思萌","杨迪","徐可冉","赵璐","贺庆","黄珂","杨雅菲","韩墨羽"}; final boolean[] flag={true,false,false,false,f 阅读全文