Answers for "text fields android studio"

1

android java text fields

EditText usernameEditText = (EditText) findViewById(R.id.Plain textid);
Posted by: Guest on January-05-2021
0

how to make a text field required in android studio

if(TextUtils.isEmpty(eventEdit.getText()))
{
  eventEdit.setError(" Please Enter Event Name ");
}else {
  //proceed with operation
}
Posted by: Guest on July-01-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language