戳我去解题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
网上已经有很多类似的记录了,这里写这个是给自己在项目中碰到的问题做个简单的记录,以后将持续更新1.IE67 border-bottom失效
一个a标签,想要使用移上去后会在下面显示一个横条,我用border-bottom做了一个效果,IE6
7必须加了line-height后才能显示,应该是因为没....
分类:
其他好文 时间:
2014-06-09 16:00:46
阅读次数:
209
二维码又称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
【题目】
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4],
[6,5,7],
[4,1,8,3]
]
The minimum path sum from top to...
分类:
其他好文 时间:
2014-06-08 17:52:45
阅读次数:
235
本文翻译了这篇文章: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
题目
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20...
分类:
其他好文 时间:
2014-06-08 09:23:34
阅读次数:
230
android 中使用Canvas的drawText绘制文本的位置,是基于基线的。如下图:
其中字母Q的小尾巴在横线下面了。
怎么样找准字母的中心位置呢?
先看下面的例子:(右边的数字,表示字体的 left, top, right, bottom)
这里面的关键是Paint.getTextBound。 getTextBound会填充一个Rect,这个Rect表示...
分类:
移动开发 时间:
2014-06-08 09:08:44
阅读次数:
279