android - Assign positive and negative button a dialogfragment with custom view and buttons -
i using dialog fragment custom view. has tick mark below. want assign tick "postive button".
setpositivebutton takes string in common way.
    builder.setpositivebutton("ok",             new dialoginterface.onclicklistener() {                 public void onclick(dialoginterface dialog, int whichbutton) {                     getdialog().dismiss();                 }             }     );         
 

Comments
Post a Comment