Exemplo n.º 1
0
 public static boolean isArea(TextView w) {
   if (!RegexUtil.isArea(w.getText().toString().trim())) {
     w.setError("面积有非法字符!");
     w.setFocusable(true);
     return false;
   }
   return true;
 }