您好,欢迎光临本网站![请登录][注册会员]  
文件名称: FormEditText文本验证提示
  所属分类: Android
  开发工具:
  文件大小: 1mb
  下载次数: 0
  上传时间: 2015-05-26
  提 供 者: smar*****
 详细说明: In your xml import an extra namespace on the root of your layout .... .... Note: It's not mandatory to use it on the root element. Also r emember to change the xmlns value with your package name Whenever you need to use the FormEditText just do the following in your xml. As you noticed there is a whatever:test attribute setted to alpha. This let the FormEditText know that the data inside it should be only Alpha characters. There are several values you can set to the test attribute: regexp: for custom regexp numeric: for an only numeric field alpha: for an alpha only field alphaNumeric: guess what? personName: checks if the entered text is a person first or last name. personFullName: checks if the entered value is a complete full name. email: checks that the field is a valid email creditCard: checks that the field contains a valid credit card using Luhn Algorithm phone: checks that the field contains a valid phone number domainName: checks that field contains a valid domain name ( always passes the test in API Level < 8 ) ipAddress: checks that the field contains a valid ip address webUrl: checks that the field contains a valid url ( always passes the test in API Level < 8 ) date: checks that the field is a valid date/datetime format ( if customFormat is set, checks with customFormat ) nocheck: It does not check anything except the emptyness of the field. For most of the test type values this library comes with a couple of default strings. This means that error strings ( english only ) are already available for the following test types: numeric, alpha, alphanumeric You can customize them using the attributes testErrorString used when the field does not pass the test emptyErrorString used when the field is empty ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: 安卓文本验证
 输入关键字,在本站1000多万海量源码库中尽情搜索: