码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
ios进度条Demo一个
一个很简单的Dmo。就拿出来分享一下。一个简单的阴影效果 _progressView.frame = CGRectMake(size.width * progress-size.width, H_HEIGHT-20, size.width, size.height); _progressVi...
分类:移动开发   时间:2014-11-19 23:44:33    阅读次数:243
poj 3294
一道非常经典的题目 , 求至少在超过一半的字符串中出现过的最长子串 , 并且按字典序删除 , 方法有很多种 , 后缀数组也可以 , 在绝大多数的后缀数组题目中 , 都要用到二分和分段的思想 ,二分长度,然后依据长度k分段 , 分段即把height数组分成多段 , 使得每一段中 , 如果有多个字符串,...
分类:其他好文   时间:2014-11-19 22:09:11    阅读次数:268
Android学习笔记-SQLite的使用
界面文件activity_main.xml<Button android:id="@+id/createButton" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/hello_world" android:text="createdatabase"/> <Button android:id="@+id/updateButton" a..
分类:移动开发   时间:2014-11-19 18:54:14    阅读次数:303
jQuery 获取屏幕高度、宽度
做手机Web开发做浏览器兼容用到了,所以在网上找了些汇总下。alert($(window).height()); //浏览器当前窗口可视区域高度 alert($(document).height()); //浏览器当前窗口文档的高度 alert($(document.body).height());...
分类:Web程序   时间:2014-11-19 18:27:17    阅读次数:149
Jquery中的 height(), innerHeight() outerHeight()区别
jQuery中的 height innerHeight outerHeight区别标准浏览器下:height:高度innerHeight:高度+补白outerHeight:高度+补白+边框,参数为true时:高度+补白+边框+边距html代码: jjjjj js代码: alert($("#test....
分类:Web程序   时间:2014-11-19 18:11:35    阅读次数:160
css3模仿雨滴(附源码)
/** */function RainyDay(canvasid, sourceid, width, height, opacity, blur) { this.canvasid = canvasid; this.canvas = document.getElementById(canvasid);...
分类:Web程序   时间:2014-11-19 15:30:14    阅读次数:309
兔子--AlertDialog
效果: 实现步骤: 1.定义AlertDialog的布局     android:layout_width="100dp"     android:layout_height="100dp"     android:background="@android:color/holo_green_dark" >              android:id="@+i...
分类:其他好文   时间:2014-11-19 14:15:36    阅读次数:194
leetcode Largest Rectangle in Histogram
这题绝对有挑战啊。膜拜了诸多,自己想了个把小时,网上翻阅一个晚上。算是学习了,以下记录分享。给定一个直方图,找最大矩形面积。例如:Givennnon-negative integers representing the histogram's bar height where the width o...
分类:其他好文   时间:2014-11-19 07:09:23    阅读次数:261
Android学习笔记-常用控件
单选按钮Radio<RadioGroup android:id="@+id/genderGroup" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> <RadioButton android:id="@+id/femaleButton" android:layout_width="wrap_content" android:..
分类:移动开发   时间:2014-11-19 02:17:11    阅读次数:279
Android学习笔记-Handler的使用
点击Start按钮,每隔3秒在Logcat里打印一句话<Button android:id="@+id/startButton" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Start"/> <Button android:id="@+id/endButton" android:layout_width="fill_parent" a..
分类:移动开发   时间:2014-11-19 02:07:42    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!