• 安卓ADT项目及升级AS(Android Studio)全攻略

    安卓ADT项目及升级AS(Android Studio)全攻略

    0
    250
    180KB
    2016-05-13
    18
  • GestureLockDemo访支付宝手势控件

    android访支付宝手势控件 1.纯代码实现手势控件; 2.可根据分辨自动缩放控件大小;

    3
    48
    2.36MB
    2015-05-26
    3
  • visualSVN配置限制客户端提交时输入message最少字符数

    visualSVN配置限制客户端提交时输入message最少字符数

    0
    237
    430B
    2015-05-26
    49
  • Android开发规范及常用(配置)说明

    Android开发规范及常用(配置) 命名规范 代码规范 包注释package-info.java使用说明 eclipse配置类代码注释方式

    0
    85
    25KB
    2015-05-26
    0
  • FormEditText文本验证提示

    In your xml import an extra namespace on the root of your layout <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:whatever="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" > .... <!-- Your actual layout --> .... </LinearLayout> Note: It's not mandatory to use it on the root element. Also remember to change the xmlns value with your package name Whenever you need to use the FormEditText just do the following in your xml. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:whatever="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" > <!-- Some stuff --> <com.andreabaccega.widget.FormEditText whatever:testType="alpha" android:id="@+id/et_firstname" android:layout_width="match_parent" android:layout_height="wrap_content" /> <!-- Some other stuff --> </LinearLayout> 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

    4
    99
    1.17MB
    2015-05-26
    10
  • Android-PullToRefresh-master列表上拉下拉刷新

    列表上拉下拉刷新支持 ListView ExpandableListView GridView WebView ScrollView HorizontalScrollView ViewPager

    0
    96
    1.28MB
    2015-05-26
    10
  • Android_PullToRefresh(下拉刷新上推加载)

    列表下拉刷新加载包括listview、gridview、scrollview等

    4
    58
    288KB
    2013-03-27
    9
  • .net或C#中多级栏目分类获取并排序的通用做法

    1.可实现无限级栏目分类 2.执行效率高,速度快 3.只需表id(主键)、classname(名称)和parentid(父级id),其它字段任意 4.采用对象方式进行参数传递 5.对任意数据库任意表都可用 6.用时只要将:无限级栏目获取.txt文件中的内容放到一个独立的类中即可 7.不要忘了把构造方法名称改一下哦

    5
    204
    6KB
    2010-05-24
    18
  • 酒店管理系统开题报告.doc

    1、课题研究的现状和意义 2、课题研究预期效果及可行性分析 3、课题要解决的问题或研究的基本内容 4、课题研究进程计划 5、研究成果形式 6、课题研究的主要参考资料

    4
    1228
    31KB
    2008-12-06
    45
  • CSharp编程规范

    CSharp编程规范很详细的介绍CSharp编程一种大体的编程规则.里面包括变量的命名规则,还包括一些控件的命名规则等.

    0
    330
    67KB
    2008-11-08
    9
  • 分享精英

    成功上传11个资源即可获取
  • 创作能手

    授予每个自然周发布1篇到3篇原创IT博文的用户
  • 持续创作

    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
关注 私信
上传资源赚积分or赚钱