应用中登陆界面颜色较浅,状态栏字体颜色为黑色,跳转到主界面之后,界面颜色较深,状态栏颜色随之变成白色。但是再重新返回登陆界面后,状态栏字体颜色并没有改成黑色,特别别扭。plist文件里将View
controller-based status bar appearance改为NO然后在view co...
分类:
移动开发 时间:
2014-06-16 09:06:09
阅读次数:
285
本文介绍ActionBar与Fragment结合使用的一个实例,ActionBar是一个标识应用程序和用户位置的窗口功能,并且给用户提供操作和导航模式。
Action bar的主要用途是:
1. 提供一个用于识别应用程序的标示和用户的位置的专用空间。
这个空间的左边是应用的图标或logo,以及Activity的标题。但是,如果...
分类:
移动开发 时间:
2014-06-15 19:05:31
阅读次数:
300
准备示例项目使用真实的产品数据现在,要切换到使用真实的数据,从Deployd服务器获取。AngularJS通过一个叫做$http的服务,为Ajax请求提供支持。作者将在第三部分详细讲解它是怎么工作的,在第23章讲解$http服务。现在有个简单的认识,修改顶级控制器sportsStoreCtrl:an...
分类:
其他好文 时间:
2014-06-14 21:55:32
阅读次数:
343
这是一个很有意思的问题,求解最大容积问题,值得动脑筋想一想。
原题如下:
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...
分类:
移动开发 时间:
2014-06-14 13:12:01
阅读次数:
268
CProgressCtrl::SetBarColor无效的缘由,苦心找了好久才发现……...
分类:
其他好文 时间:
2014-06-14 06:04:30
阅读次数:
177
环境:cocos2d-x 2.1.5ios7.0在info.plist
添加UIViewControllerBasedStatusBarAppearance(View controller-based status bar
appearance) 设置为NO 即可
分类:
移动开发 时间:
2014-06-13 19:13:49
阅读次数:
355
原题地址: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
iOS开发:使用Tab Bar切换视图上一篇文章提到了多视图程序中各个视图之间的切换,用的Tool
Bar,说白了还是根据触发事件使用代码改变Root View Controller中的Content
View。这次,我们还是讲一讲切换视图,不过这次使用的是Tab Bar。这次要写的程序运行起来的效...
分类:
移动开发 时间:
2014-06-12 22:20:27
阅读次数:
541
Bootstrap 101 Template Toggle navigation Brand
Link Link Dropdown Action Another action Something else here Separated link One
more separated link Sub...
分类:
其他好文 时间:
2014-06-12 18:58:06
阅读次数:
398