Simple editText alertDialog

얼럿 다얄로그에 간단하게 에딧텍스트 하나 넣고싶을 떄 사용. 별로 이뿌진 않다.

final EditText editText = new EditText(mContext);
new AlertDialog.Builder(mContext)
        .setView(periodEditText)
        .setPositiveButton(... editText ...)
        .setNegativeButton(...)
        .create().show();

좋은 웹페이지 즐겨찾기