Android examples for User Interface:EditText
is EditText Blank
//package com.java2s; import android.text.TextUtils; import android.widget.EditText; public class Main { public static boolean isBlank(EditText editText) { return TextUtils.isEmpty(editText.getText()); }// w w w .java2 s . co m }