构建进度条
在XML布局文件中使用ProgressBar标签布局视图
android:id="@+id/progressbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@android:style/W...
分类:
移动开发 时间:
2016-08-08 21:10:43
阅读次数:
227
1.当TextView 设置宽度设置为match_parent的时候 TextView drawablePadding没有效果 ,字设置了center位置,但是和左边的图片离开很远 2.当TextView 设置的宽度为wrap_parent的时候,extView drawablePadding有效果 ...
分类:
其他好文 时间:
2016-08-06 21:52:07
阅读次数:
445
修改weight router bgp 1 nrighbor [Address] weight 10 修改单条 access-list 6 permit 6.6.6.6 router-map xxx permit 10 match ip address 6 set weight 20 router- ...
分类:
其他好文 时间:
2016-08-06 06:54:29
阅读次数:
263
方法一:正则法 function getQueryString(name) { var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); var r = window.location.search.substr(1).match(re ...
分类:
Web程序 时间:
2016-08-05 15:44:53
阅读次数:
142
从别的地方导入一个项目的时候,经常会遇到eclipse/Myeclipse报Description Resource Path Location Type Java compiler level does not match the version of the installed Java pro ...
分类:
编程语言 时间:
2016-08-05 11:50:52
阅读次数:
123
今天学习了Python中有关正则表达式的知识。关于正则表达式的语法,不作过多解释,网上有许多学习的资料。这里主要介绍Python中常用的正则表达式处理函数。 方法/属性 作用 match() 决定 RE 是否在字符串刚开始的位置匹配 search() 扫描字符串,找到这个 RE 匹配的位置 find ...
分类:
编程语言 时间:
2016-08-04 23:13:09
阅读次数:
275
方法一:正则法 function getQueryString(name) { var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); var r = window.location.search.substr(1).match(re ...
分类:
Web程序 时间:
2016-08-04 01:22:29
阅读次数:
208
<LinearLayout android:background="#eb4f38" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> ...
分类:
其他好文 时间:
2016-08-03 18:29:58
阅读次数:
143
控制器 @RequestMapping(value = "MatchDetail", method = RequestMethod.GET) public ModelAndView Match_Detail() { ModelAndView model = new ModelAndView("day ...
分类:
编程语言 时间:
2016-08-03 12:00:58
阅读次数:
468
Scala内建的控制结构屈指可数,仅有if, while, for, match, try和函数调用而已。 几乎所有的Scala控制结构都会产生某个值(while和 do while虽然不能产生有意义的值,但是也会返回Unit类型的值,称为unit value,写成 () )。unit value ...
分类:
其他好文 时间:
2016-08-02 23:53:24
阅读次数:
210