说的有点乱,先看个图把其实这个constrant的目的就是控制两个方形的控件上方和下方的空白大小。对于每一个方块来说,他们上方和下方的空白是相同的。这种“居中”的设计到处可见。一个控件想实现这种居中和简单,只需要建立一个参考的view,比如这里的h1或h2,再调整好参考view的高度,最后设置控件和...
分类:
移动开发 时间:
2014-05-08 19:34:53
阅读次数:
486
前面写了个View画圆弧,为了让他和底层图片效果融合,采用先把圆弧画到和图片一样大小的画布上,然后用canvas的变换位图方法映射过去。
bitmapWithReflection = Bitmap.createBitmap(swidth, sheight, Config.ARGB_88...
分类:
其他好文 时间:
2014-05-08 19:22:16
阅读次数:
293
源表(table1)数据{A:string B:array C:string}A B C190
[1030,1031,1032,1033,1190] select id191 [1030,1031,1032,1033,1190] select
id希望的结果是:190 1030 select id1...
分类:
其他好文 时间:
2014-05-08 14:19:57
阅读次数:
311
2014年5月7号下午1点半进行的vmware笔试。笔试内容包括不定项选择题20个,问答题5个,编程2选1一个。编程题:1.
前序遍历一颗二叉树 2. 判断一个字符串中是否存在回文,存在则输出;问答题:1. js的标准模式和quire模式 2. 链接web、邮件、图片的区别 3....
分类:
其他好文 时间:
2014-05-08 14:04:53
阅读次数:
274
Found the solution myself in the end. The problem
was not with theLinearLayout,but with theScrollView(seems weird, considering the
fact that theScroll...
分类:
移动开发 时间:
2014-05-08 13:42:02
阅读次数:
321
- (BOOL)gestureRecognizer:(UIGestureRecognizer
*)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{ // 获取点击的view的类名
NSLog(@"%@", NSStringFromCla.....
分类:
其他好文 时间:
2014-05-07 20:25:47
阅读次数:
404
以微博分享为例:
1.public void onClickShare(View view) {
2.
3. Intent intent=new Intent(Intent.ACTION_SEND);
4. intent.setType("image/*");
5. intent.putExtra(Inten...
分类:
移动开发 时间:
2014-05-07 15:59:21
阅读次数:
396
案例4视图viwer拓扑图:1.查看帮助[root@centos~]#vim/usr/share/doc/bind-9.8.2/sample/etc/named.conf[root@host2~]#cd/var/named/chroot/etc2.[root@centosetc]#vimnamed.conf添加视图:36view"lan-view"37{38zone"."IN{39typehint;40file"named.ca";41};42zone"ab.com"{43t..
分类:
系统相关 时间:
2014-05-07 15:33:16
阅读次数:
618
CitrixSynergy今天正式开幕。虽然经历了一天的洗礼,身体有些疲惫,但是还是抑制不住自己的兴奋,想要早点分享这次大会给我们带来的惊喜。和往届一样,这次又是一个人山人海的大会,组委会介绍说有超过5,000人到会,我可没办法数清楚,不过八点钟就赶到会场时发现已经早餐没地..
分类:
其他好文 时间:
2014-05-07 15:21:11
阅读次数:
483
http://kczx.whu.edu.cn/G2S/Template/View.aspx?courseId=27617&topMenuId=92187&action=view&type=&name=&menuType=1&curfolid=223168
分类:
其他好文 时间:
2014-05-07 14:20:24
阅读次数:
273