码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
LeetCode: Balanced Binary Tree 解题报告
Balanced Binary Tree Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tr...
分类:其他好文   时间:2014-12-18 22:05:21    阅读次数:180
html适配手机
width - viewport的宽度 height - viewport的高度initial-scale - 初始的缩放比例minimum-scale - 允许用户缩放到的最小比例maximum-scale - 允许用户缩放到的最大比例user-scalable - 用户是否可以手动缩放
分类:移动开发   时间:2014-12-18 21:52:54    阅读次数:408
【objectivet-c】语法(三)
在.h文件中,使用关键字@property,xcode会自动生成某个变量的get和set方法的声明,比如 @property int age 如果是相同类型也可以写在一行里 @property int age,height; 在.m文件中的实现方法是 @synthesize age =_age 调用的时候如下 person* p= [person new ]; [p setA...
分类:其他好文   时间:2014-12-18 20:39:22    阅读次数:159
img图片自适应宽和高[转]
控制缩略图常见的是JS来控制,还有就是最直接的方法定义img的宽高;下面两种方法自适应宽和高,zhenzhai推荐使用CSS方法;一、CSS方法;主要是在CSS设置最小值和最大值(max-width:100px;max-height:100px;width:expression(this.width...
分类:其他好文   时间:2014-12-18 20:25:22    阅读次数:270
android布局属性值fill_parent和match_parent
android布局属性值fill_parent和match_parent - 泡在网上的日子在编写xml的时候,如果我们想让一个控件布满父容器,可以将layout_width和layout_height的值设置为fill_parent或者是match_parent,在高一点的版本中,谷歌建议为后者,...
分类:移动开发   时间:2014-12-18 20:15:28    阅读次数:159
代码实现Layout android:layout_alignParentRight
代码实现Layout android:layout_alignParentRight例如:android:id="@+id/account_option" android:layout_width="20px"android:layout_height="20px" android:focusabl...
分类:移动开发   时间:2014-12-18 16:47:28    阅读次数:218
【LeetCode】
题目 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 of the two subtrees of every node nev...
分类:其他好文   时间:2014-12-18 15:16:38    阅读次数:169
leetcode------Balanced Binary Tree
标题:Balanced Binary Tree通过率:32.3%难度:简单Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is define...
分类:其他好文   时间:2014-12-18 14:50:55    阅读次数:186
expandableListView的divider显示为黑色解决办法
黑色的是divider的高度,怎么让他变透明啊? 布局如下:  <ExpandableListView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="15dip" ...
分类:其他好文   时间:2014-12-18 11:57:56    阅读次数:142
ecshop搜索出现相关商品的效果滑动下拉效果
ecshop搜索栏效果如下所需要的样式我们可以复制到style.css里:/*搜索滑动效果*/.Menu {position:absolute;top:30px;left:7px;width:150px;height:auto;z-index:1;background:#FFF;border:1px...
分类:其他好文   时间:2014-12-18 01:33:55    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!