querySelector和querySelectorAll是W3C提供的新的查询接口目前IE8/9及Firefox/Chrome/Safari/Opera的最新版已经支持它们。但是Element.querySelectorAll有个bug
asfd var bar = ...
分类:
其他好文 时间:
2014-06-13 00:13:52
阅读次数:
340
原题地址:https://oj.leetcode.com/problems/trapping-rain-water/题意:Givennnon-negative
integers representing an elevation map where the width of each bar is ...
分类:
移动开发 时间:
2014-06-12 23:35:22
阅读次数:
409
题目
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.
Above is a histogram w...
分类:
其他好文 时间:
2014-06-10 15:34:02
阅读次数:
252
1、ProgressBar有两个进度,一个是android:progress,另一个是android:secondaryProgress。比如视频的缓存进度以及播放进度。在这里缓存的进度就可以是android:secondaryProgress,而播放进度就是android:progress。
2、...
分类:
移动开发 时间:
2014-06-10 13:06:31
阅读次数:
370
戳我去解题Givennnon-negative integers representing an
elevation map where the width of each bar is 1, compute how much water it is
able to trap after raini...
分类:
移动开发 时间:
2014-06-10 08:48:04
阅读次数:
267
操作栏是最重要的设计元素之一,使用它来实现你的应用程序活动。通过提供多种用户界面功能, 使应用程序快速和其他的Andorid应用程序一致, 以便被用户熟悉和接受。 主要功能包括:
1. 标识你的应用程序,指示在应用程序的用户的位置。
2. 能很方便的操作重要的功能(像搜索功能)
3. 导航和视图切换功能(使用制表符或下拉列表)...
分类:
移动开发 时间:
2014-06-09 23:41:23
阅读次数:
390
二维码又称QR Code,QR全称Quick
Response,是一个近几年来移动设备上超流行的一种编码方式,它比传统的Bar
Code条形码能存更多的信息,也能表示更多的数据类型AD:WOT2014课程推荐:实战MSA:用开源软件搭建微服务系统二维码又称QR
Code,QR全称Quick Resp...
分类:
其他好文 时间:
2014-06-09 13:17:56
阅读次数:
477
iOS开发UI篇—UITableBarController生命周期(使用storyoard搭建)一、UITableBarController在storyoard中得搭建1.新建一个项目,把storyboard中默认的控制器删除,拖UITable
Bar Controller。2.创建viewcont...
分类:
移动开发 时间:
2014-06-08 22:04:34
阅读次数:
406
对于二维码大家应该并不陌生,英文名为2-dimensional bar code 或 QR
Code,是一种用图形记载信息的技术,最常见的是应用在手机应用上。用户通过手机摄像头扫描二维码或输入二维码下面的号码、关键字即可实现快速手机上网,快速便捷地浏览网页、下载图文、音乐、视频等等。在
Ubuntu...
分类:
其他好文 时间:
2014-06-08 18:39:22
阅读次数:
222
本文翻译了这篇文章:Using the Android action bar (ActionBar) - Tutorial
1、ActionBar的简介
ActionBar位于Activity的顶部,可用来显示activity的标题、Icon、Actions和一些用于交互的View。它也可被用于应用的导航。
ActionBar 是在Android 3.0(API 11)中加入到SK中的,...
分类:
移动开发 时间:
2014-06-08 15:27:58
阅读次数:
349