CSS命名规范CSS样式命名整理页面结构容器: container/wrap 整体宽度:wrapper
页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column
中间内容:center导航导航:nav 导航:mainba...
分类:
Web程序 时间:
2014-05-27 01:32:59
阅读次数:
374
常用的CSS命名规则头:header内容:content/container尾:footer导航:nav侧栏:sidebar栏目:column页面外围控制整体佈局宽度:wrapper左右中:left
right center登录条:loginbar标志:logo广告:banner页面主体:main热...
分类:
Web程序 时间:
2014-05-27 01:25:49
阅读次数:
405
Given n non-negative integers representing an
elevation map where the width of each bar is 1, compute how much water it is
able to trap after raining....
分类:
移动开发 时间:
2014-05-23 03:59:43
阅读次数:
364
介绍在在title bar上显示indeterminate progress
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ...
分类:
其他好文 时间:
2014-05-23 00:31:27
阅读次数:
352
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo...
分类:
其他好文 时间:
2014-05-23 00:30:50
阅读次数:
415
以下四种情况,编译器将会合成(即由编译器负责)一个nontrivial默认构造函数。
1、成员对象带有默认构造函数
例如:
#include
using namespace std;
class Foo {
public:
Foo() { cout << "Foo" << endl; } // Foo类含有默认构造函数
};
class Bar {
pub...
分类:
其他好文 时间:
2014-05-22 13:24:06
阅读次数:
212
可能是以前记错了,总认为在ios6上使用了UINavigationController或者TabBarController会因为多了bar而影响子controller的view的frame大小。今天在xcode5.1上验证,无论ios6或者7,使用容器controller,产生了的bar都不会对子c...
分类:
移动开发 时间:
2014-05-22 04:28:02
阅读次数:
339
【题目】
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1], return 6.
The above elevation map is represente...
分类:
移动开发 时间:
2014-05-21 06:44:38
阅读次数:
359
ActionBar是3.0后的UI设计规范,同时也是Google极力推荐使用的设计风格,如何快速设计一个入眼的ActionBar呢,更进一步,给我们搭好一个入眼的ActionBar的模板吧,于是Android Action Bar Style Generator就出来了:http://jgilfelt.github.io/android-actionbarstylegenerator/国际惯例,上...
分类:
移动开发 时间:
2014-05-20 14:31:19
阅读次数:
314
android.permission.EXPAND_STATUS_BAR允许一个程序扩展收缩在状态栏,Android开发网提示应该是一个类似Windows
Mobile中的托盘程序android.permission.FACTORY_TEST作为一个工厂测试程序,运行在root用户android.p...
分类:
移动开发 时间:
2014-05-19 13:25:39
阅读次数:
353