文件下载:http://css3pie.com/download/ 使用: .pie_radius{ width:200px; height:200px; background-color:red; -moz-border-radius:8px; -webkit-border-radius:8px;...
分类:
其他好文 时间:
2014-11-20 20:05:38
阅读次数:
600
下面开始讲解:1.LinearLayout:线性布局,最常规的布局,在XML文件中我们只需要规定布局的大小,如width(宽),height(高)等值,还有orientation(方向),我们就可以把控件依次填入其中,控件就会按照我们规定的方向线性填入,这里不再多说,不懂的朋友请参考API文档或者查...
分类:
移动开发 时间:
2014-11-20 18:42:28
阅读次数:
303
if(navigator.userAgent.indexOf("Chrome") >0 ){
var winOption = "height="+height+",width="+width+",top=50,left=50,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes...
Cain同学提出要看CSS3弹性盒模型,非常感谢。我找到了下面这个网页,是一个更好的解决办法,分享在下边。http://www.w3chtml.com/css3/properties/flexible-box/box-orient.html父级:height:100%;display:-webkit...
分类:
其他好文 时间:
2014-11-20 15:15:19
阅读次数:
155
首先我们需要有一张4X4的表格: <!DOCTYPE?html>
<html>
<head>
????<meta?charset="UTF-8">
????<meta?name="viewport"?content="width=device-width,?height=device-height,?initial-scale=1.0,?...
分类:
Web程序 时间:
2014-11-20 13:50:39
阅读次数:
305
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.二分递归转换Hide TagsTreeDepth-first Search/** * Definition...
分类:
其他好文 时间:
2014-11-20 13:40:54
阅读次数:
171
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:
其他好文 时间:
2014-11-20 13:39:29
阅读次数:
113
在网上发现很多人使用 CGContextDrawImage(context,CGRectMake(0,0,self.width,self.height),[image CGImage]); //原图 CGContextDrawImage(context,rect,[mask CGImage]); /...
分类:
移动开发 时间:
2014-11-20 01:27:32
阅读次数:
229
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:
其他好文 时间:
2014-11-20 01:16:54
阅读次数:
172