In android is there any simple way of setting minimum password length in edittext? In xml there is only an option of max length but not minimum.
Options like setting
You can do some validation on the edittext when the user clicks submit.
public void onSubmitClicked(View v)
{
String pass = passwordEditText.getText().toString();
if(TextUtils.isEmpty(pass) || pass.length() < [YOUR MIN LENGTH])
{
passwordEditText.setError("You must have x characters in your password");
return;
}
//continue processing
}