Answers for "how to edittext settings textview in android"

0

java android edit text set value

EditText bookInput = (EditText)findViewById(R.id.book);
bookInput.setText("The Shining");
Posted by: Guest on May-13-2020
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 "how to edittext settings textview in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language