摘要:
在layout中配置信息android:digits="1234567890.+-*/%\n()"限制输入框中只能输入自己定义的这些字符串 如果输入其它将不予以显示android:phoneNumber="true"限制输入框中只能输入手机号码android:password="true"限制输入框... 阅读全文
摘要:
public void onClick(View arg0) { String str = editText0.getText().toString(); Toast.makeText(SampleActivity.this,str, Toast.LENGTH_... 阅读全文
摘要:
public static boolean checkChinese(String sequence) { final String format = "[\\u4E00-\\u9FA5\\uF900-\\uFA2D]"; boolean result = false; ... 阅读全文
摘要:
阅读全文