android shape的使用
shape用于设定形状,可以在selector,layout等里面使用,有6个子标签,各属性如下:
xml version="1.0" encoding="utf-8"?>
shape xmlns:android="http://schemas.android.com/apk/res/android" >
圆角 -->
...
分类:
移动开发 时间:
2014-11-14 17:45:12
阅读次数:
155
error:"net.bridge.bridge-nf-call-ip6tables"isanunknownkeyerror:"net.bridge.bridge-nf-call-iptables"isanunknownkeyerror:"net.bridge.bridge-nf-call-arptables"isanunknownkey解决方法:modprobebridge加载bridge模块
分类:
Web程序 时间:
2014-11-14 15:59:02
阅读次数:
269
Question:Given a sorted array of n integers that has been rotated an unknown number of times, give an O(log n) algorithm that finds an element in the ...
分类:
其他好文 时间:
2014-11-14 01:30:09
阅读次数:
118
建立了一个域用户ftp.始终登陆不上winserver 2008 R2上的FTP.错误如下:530-User cannot log in.Win32 error: Logon failure: unknown user name or bad password.Error details: Anon...
分类:
Windows程序 时间:
2014-11-13 15:59:42
阅读次数:
1076
1.动作与动画的区别动作是:定时器+属性的改变,是帧循环的累积效应动画是:帧图片的播放效果,我们知道电影的播放就是快速播放的胶片,这就是动画的原理2.假动作:又称动作回调函数四大类假动作:callfunc_selector() 对应的回调函数是:void funcCallBack();callfun...
分类:
其他好文 时间:
2014-11-12 20:58:56
阅读次数:
195
假设给一个对象发送不能响应的消息,同一时候又没有进行动态方法决议,又没实现消息转发,那么就会引发以下的crash信息2014-07-30 15:47:54.434 MethodNotFind[1719:403] -[Person setName:]: unrecognized selector se...
分类:
其他好文 时间:
2014-11-12 11:40:55
阅读次数:
145
首先在view上添加手势 UIPanGestureRecognizer1 UIPanGestureRecognizer *panGes = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(goAnimation...
分类:
其他好文 时间:
2014-11-12 00:34:54
阅读次数:
176
//向左滑动的时候的手势UISwipeGestureRecognizer*leftSwipeGestureRecognizer=[[UISwipeGestureRecognizeralloc]initWithTarget:selfaction:@selector(presentRightMenuViewController:)];[leftSwipeGestureRecognizersetDirection:UISwipeGestureRecognizerDirectionLeft];[s..
分类:
其他好文 时间:
2014-11-11 22:59:07
阅读次数:
255
网上搜了好多答案,基本上都是让你在composer.json里面添加这样一段话: "extra": { "asset-installer-paths": { "npm-asset-library": "vendor/npm", ...
分类:
Web程序 时间:
2014-11-11 15:59:41
阅读次数:
185
错误信息:
Exception in thread "main" java.lang.NumberFormatException: For input string: "?6.50685140537736"
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.lang.Double.parseDou...
分类:
编程语言 时间:
2014-11-11 12:48:31
阅读次数:
233