Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric...
分类:
其他好文 时间:
2015-01-27 00:14:03
阅读次数:
145
使用ImageView时常常会用到scaleType属性,如:scaleType属性的各个值总是记不住之间的差别。今天找点时间总结了一下:scaleType的属性值有:matrix fitXY fitStart fitCenter fitEnd center centerCrop centerIns...
分类:
移动开发 时间:
2015-01-25 22:13:55
阅读次数:
201
2013-05-01 Created By BaoXinjian一、摘要待整理待整理待整理待整理待整理待整理Thanks and Regards
分类:
数据库 时间:
2015-01-25 17:51:27
阅读次数:
247
微软近期Open的职位:Search Technology Center Asia (STCA)Position: UX DesignerLocation: Beijing, ChinaSearch Technology Center, Asia (STCA) is a world class en...
分类:
其他好文 时间:
2015-01-24 21:26:15
阅读次数:
205
微软近期Open的职位:Job DescriptionGroup: Search Technology Center Asia (STCA)/Search AdsTitle: SDEII-Senior SDELocation: Beijing, ChinaSTCA was founded in ye...
分类:
其他好文 时间:
2015-01-24 10:10:15
阅读次数:
226
1. UILabel(标签) 继承于UIViwe 拥有view一些特有的属性1.frame 位置和尺寸(以父控件的左上角为原点(0,0))2.center 中点 (以父控件的左上角为原点(0,0))3.bounds 位置和尺寸(以自己的左上角为原点 (0,0))4.transform 形变属性(缩放...
分类:
其他好文 时间:
2015-01-24 01:35:23
阅读次数:
180
1. view一些属性1.frame 位置和尺寸(以父控件的左上角为原点(0,0))2.center 中点 (以父控件的左上角为原点(0,0))3.bounds 位置和尺寸(以自己的左上角为原点 (0,0))4.transform 形变属性(缩放,旋转)5.backgroundColor 背景颜色6...
分类:
其他好文 时间:
2015-01-24 01:35:17
阅读次数:
176
jQuery1.10开始position中就可以接收一个对象参数。
$( "#position1" ).position({
my: "left top",
at: "right center",
of: "#targetElement"
});
这里只记录my,at,of的说明。
my:当前元素要选择对齐的位置,默认是'center'at:目标元素要对齐的位置,默认是'...
分类:
Web程序 时间:
2015-01-23 18:30:23
阅读次数:
185
uva 10167 Birthday Cake
Background
Lucy and Lily are twins. Today is their birthday. Mother buys a birthday cake for them.Now we put the cake onto a Descartes coordinate. Its center is at (0...
分类:
其他好文 时间:
2015-01-23 16:27:45
阅读次数:
189
TextView有几个属性android:drawableXXX,通常是在环绕文字周边显示一个图像,但是这有个坑就是文字和图片可能会对不齐。纵使你设置gravity还是layout_gravity=center都没有任何效果。 一般在app的底部导航栏,会用RadioButton去实现。R...
分类:
移动开发 时间:
2015-01-23 16:03:27
阅读次数:
179