Show keyboard with password dialog

This commit is contained in:
str4d
2014-09-18 22:39:01 +00:00
parent 9a66763b63
commit 3eb46d9faf

View File

@@ -21,6 +21,7 @@ import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.view.LayoutInflater;
import android.view.View;
import android.view.WindowManager;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
import android.widget.TextView;
@@ -307,6 +308,7 @@ public class BoteHelper extends GeneralHelper {
}
}).setCancelable(false);
AlertDialog passwordDialog = builder.create();
passwordDialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE);
passwordDialog.show();
}