Advertisement
Guest User

Untitled

a guest
Mar 6th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. new MaterialDialog.Builder(mainActivity)
  2. .title(R.string.title)
  3. .autoDismiss(false)
  4. .content(R.string.content)
  5. .positiveText(R.string.positive)
  6. .negativeText(R.string.negative)
  7. .positiveColor(setColor())
  8. .callback(new MaterialDialog.ButtonCallback() {
  9. @Override
  10. public void onPositive(MaterialDialog dialog) {
  11.  
  12. }
  13. })
  14. .negativeColor(setColor())
  15. .typeface(titleAndActions, contentAndListItems)
  16. .build()
  17. .show();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement