安卓ADT项目及升级AS(Android Studio)全攻略
安卓ADT项目及升级AS(Android Studio)全攻略
GestureLockDemo访支付宝手势控件
android访支付宝手势控件
1.纯代码实现手势控件;
2.可根据分辨自动缩放控件大小;
visualSVN配置限制客户端提交时输入message最少字符数
visualSVN配置限制客户端提交时输入message最少字符数
Android开发规范及常用(配置)说明
Android开发规范及常用(配置)
命名规范
代码规范
包注释package-info.java使用说明
eclipse配置类代码注释方式
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
Android-PullToRefresh-master列表上拉下拉刷新
列表上拉下拉刷新支持
ListView
ExpandableListView
GridView
WebView
ScrollView
HorizontalScrollView
ViewPager
Android_PullToRefresh(下拉刷新上推加载)
列表下拉刷新加载包括listview、gridview、scrollview等
.net或C#中多级栏目分类获取并排序的通用做法
1.可实现无限级栏目分类
2.执行效率高,速度快
3.只需表id(主键)、classname(名称)和parentid(父级id),其它字段任意
4.采用对象方式进行参数传递
5.对任意数据库任意表都可用
6.用时只要将:无限级栏目获取.txt文件中的内容放到一个独立的类中即可
7.不要忘了把构造方法名称改一下哦
酒店管理系统开题报告.doc
1、课题研究的现状和意义
2、课题研究预期效果及可行性分析
3、课题要解决的问题或研究的基本内容
4、课题研究进程计划
5、研究成果形式
6、课题研究的主要参考资料
CSharp编程规范
CSharp编程规范很详细的介绍CSharp编程一种大体的编程规则.里面包括变量的命名规则,还包括一些控件的命名规则等.
Excel导入至DataGridview(2000,2003,2005,20007版的Excel均可导入)
Excel导入至DataGridview(2000,2003,2005,20007版的Excel均可导入)
能对电脑中的磁盘进行隐藏和显示的"磁盘隐藏助手"vista XP均可用
能对电脑中的磁盘进行隐藏和显示,使用方便.在vista 和XP系统下均可用.
能将多种格式的图片转换成ICO的图标转换工具
可将多种格式的图片转换成*.ICO图标格式.在图标转换时易操作控制,转换方便.
Windows注册表的加解锁,XP Vista均可用
可实现对注册表进行禁用,防止木马及恶意软件向注册表中写东西.禁用以后还可以对注册表进行解锁.