4
입력 somethings에 대한 alertdialog를 사용하려고했지만 editText 시스템을 클릭하면 "W/IInputConnectionWrapper : finishComposingText inactive InputConnection"이 표시됩니다.finishComposingText on 비활성 InputConnection
test1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
AlertDialog.Builder mBuilder = new AlertDialog.Builder(MainActivity.this);
View mView = getLayoutInflater().inflate(R.layout.dk, null);
final AlertDialog dialog = mBuilder.create();
final EditText day = (EditText) mView.findViewById(R.id.day);
final EditText month = (EditText) mView.findViewById(R.id.month);
final EditText year = (EditText) mView.findViewById(R.id.year);
final Button bu1 = (Button) mView.findViewById(R.id.bu1);
bu1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
#code
dialog.dismiss();
}
});
dialog.setView(mView);
dialog.show();
}
});