I have a problem with the padding of a EditText from an alertDialog. I want it to not touch the sides but it does despite the setPadding I put..
Here's my code:
EditText temp = new EditText(this);
temp.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS);
temp.setPadding(10, 10, 10, 10);
final EditText input = temp;
new AlertDialog.Builder(LoginActivity.this).setTitle(getString(R.string.login_forgotpw_title))
.setMessage(getString(R.string.login_forgotpw_message)).setView(input)
I thought it would do the job, but here's the result
Thank you