- 博客(6)
- 资源 (4)
- 收藏
- 关注
原创 ViewPager自适应高度和宽度
重写ViewPager里的onMeasure方法,可使Viewpager的高度宽度自动适应图片public class CustomViewPager extends ViewPager { public CustomViewPager(Context context) { super(context); } public CustomViewPager(Con
2016-03-04 10:00:19
2968
原创 动态添加View
String lable = "#" + allLableList.get(i); RadioButton radioButton = new RadioButton(mActivity); radioButton.setText(lable); radioButton.setTextSize(14f); radioButton.setButtonDrawable(null
2016-02-16 09:21:48
340
翻译 文章标题
android:background=”@android:color/transparent” 表示:背景,这里不用它的默认背景,所以设置为透明
2015-12-02 15:45:57
274
转载 正则表达式
http://blog.csdn.net/chenshaoyang0011/article/details/7217449一、校验数字的表达式数字:^[0-9]*$n位的数字:^\d{n}$至少n位的数字:^\d{n,}$m-n位的数字:^\d{m,n}$零和非零开头的数字:^(0|[1-9][0-9]*)$非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?
2015-11-23 17:17:14
163
转载 欢迎使用CSDN-markdown编辑器
http://blog.csdn.net/chenshaoyang0011/article/details/7217449一、校验数字的表达式数字:^[0-9]*n位的数字:\dn n位的数字:^\d{n} 至少n位的数字:^\d{n,}m−n位的数字:\dm,n m-n位的数字:^\d{m,n} 零和非零开头的数字:^(0|[1-9][0-9]*)非零开头的最多带两位小数的数字:([1
2015-11-23 17:15:45
238
FragmentTabHost最基本的界面功能
2015-07-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人