The action bar provides your users a familiar and predictable way to perform actions and navigate your app, but that doesn't mean it needs to look exactly the same as it does in other apps. If you want to style the action bar to better fit your product bra...
分类:
移动开发 时间:
2014-08-07 03:07:49
阅读次数:
605
By default, the action bar appears at the top of your activity window, slightly reducing the amount of space available for the rest of your activity's layout. If, during the course of user interaction, you want to hide and show the action bar, you can do s...
分类:
移动开发 时间:
2014-08-07 03:07:19
阅读次数:
344
设置一个基本的action bar需要你的应用使用支持action bar的主题。如何来请求这样的主题要看你所选择的你的应用最低支持的Android版本。因此本课会根据应用支持的不同的Android最低版本分为两个部分。...
分类:
移动开发 时间:
2014-08-07 00:50:57
阅读次数:
416
Action bar 是你可以为你的应用的Activity实现的最为重要的设计元素之一。它提供了集中UI特性,并且通过提供和其他的Android应用的一致性体验让你的应用能够很快被用户熟悉。主要的功能包括:
一个专用的显示应用表示的地方,并且能够指出用户当前在应用中的位置。
用户能够很方便地访问重要的功能(例如搜索)。
提供视图切换导航(通过tab,或者下拉列表)。...
分类:
移动开发 时间:
2014-08-06 22:55:42
阅读次数:
355
qccs定义圆角border-radius:10px;如果想给特定位置定义圆角,如:左上角:border-left-top-radius:10px;右下角色:border-right-bottom-rasius:10px;半透明效果只需要在css中使用rgba(100,100,100,40)这种形式...
分类:
其他好文 时间:
2014-08-06 22:41:52
阅读次数:
247
压力单位MPa、Psi和bar之间换算公式1bar=10^5PaPsi为英制压力单位.“磅力每平方英寸(1bf/in2)为1psi=6894.76 pa; 1bar等于10的5次方=10^5 pa ;1atm等于一个标准大气压=101325pa ;1at等于一project大气压(千克力每平方厘米k...
分类:
其他好文 时间:
2014-08-06 22:04:32
阅读次数:
267
$data = array(‘foo‘, ‘bar‘, ‘baz‘, ‘boom‘, ‘cow‘ => ‘milk‘, ‘php‘ =>‘hypertext processor‘, ‘words‘ =>‘你好 啊‘); $a = http_build_query($data); echo $a; $a = urldecode($a); echo $a; 根据数组产生一个...
分类:
Web程序 时间:
2014-08-06 19:33:22
阅读次数:
375
分享下php中读取文件内容的几种方法,各有千秋,与大家共勉。示例代码1: 用file_get_contents 以get方式获取内容示例代码2: 用fopen打开url, 以get方式获取内容示例代码3:用file_get_contents函数,以post方式获取url'bar');$data=ht...
分类:
Web程序 时间:
2014-08-05 18:45:09
阅读次数:
366
问题: 一个页面分上下二部分,上部分高度是固定不变的,要求下部分高度自动占满屏幕,如何实现?第一感觉是准备用 JS 实现。今天发现一个用 CSS 实现的方法position: fixed;bottom: 10px;overflow: auto;left: 0px;top: 44px;positi.....
分类:
其他好文 时间:
2014-08-05 18:18:39
阅读次数:
162
题目: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).F....
分类:
编程语言 时间:
2014-08-05 05:18:08
阅读次数:
340