彈出對話方塊

2021-06-02 11:04:59 字數 619 閱讀 1613

先定義

private view view;

private alertdialog mprotocoldialog;

彈出對話方塊

private void loadprotocol() 

});mprotocoldialog = new alertdialog.builder(this)

.settitle(getstring(r.string.protocol_title)).setview(view).setpositivebutton(

getstring(r.string.agree), new dialoginte***ce.onclicklistener()

}).setnegativebutton(getstring(r.string.disagree),

new dialoginte***ce.onclicklistener()

}).show();

mprotocoldialog.setonkeylistener(new onkeylistener()

return false;

}});

}

彈出對話方塊

call function popup to confirm exporting titlebar diagnose object text question anything else?text button 1 yes?icon button 1 15 text button 2 no 002 ...

彈出對話方塊

data answer 20 type c.call function popup to confirm exporting titlebar diagnose object text question anything else?text button 1 yes?icon button 1 15...

彈出模式對話方塊和彈出非模式對話方塊

非模式對話方塊 clistlink m plistlink null ssn return pishowlistdialog in ssn object id listtype,in ssn object id listdialogid m plistlink showwindow sw show ...