状态栏文字颜色修改//info.plist中添加一个字段:view controller -base status bar 设置为NO 设置状态栏文字为白色 //有动画效果[[UIApplication sharedApplication] setStatusBarStyle:UIStatus...
分类:
移动开发 时间:
2015-03-10 00:01:12
阅读次数:
218
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:
其他好文 时间:
2015-03-09 07:00:12
阅读次数:
178
原文摘自:http://blog.csdn.net/android2me/article/details/88748461.Action Bar 介绍我们能在应用中看见的actionbar一般就是下图的样子,比如快图应用1.App icon应用的图标,左侧带应用相当于back返回键2.ViewCon...
分类:
移动开发 时间:
2015-03-08 12:57:38
阅读次数:
228
http://bar.cnyes.com/html/100102-1/8D225E270FEE1D0.shtml
http://bar.cnyes.com/html/100102-1/8D225E2951F2386.shtml
http://bar.cnyes.com/html/100102-1/8D225E2CA3761C8.shtml
http://bar.cnyes.com/html/100102-1/8D225E2EA9B9484.shtml
http://bar.cnyes.com/html/10...
分类:
其他好文 时间:
2015-03-08 06:46:54
阅读次数:
112
1.设置action bar的背景色第一种方式:getActionBar().setBackgroundDrawable(getResources().getDrawable(R.drawable.ActionBarBackground));ActionBarBackground 为定义在value...
分类:
移动开发 时间:
2015-03-07 22:40:49
阅读次数:
268
1.若只支持3.0及以上 若miniSdkVersion设置11及以上 eg:则默认的主题为Theme.Holo此主题下所有activity都包含action bar. (也可在Application或单独activity标签下明确设置主题样式: android:theme="@android:st...
分类:
移动开发 时间:
2015-03-07 20:00:18
阅读次数:
166
1.若只支持3.0及以上 若miniSdkVersion设置11及以上 eg:则默认的主题为Theme.Holo此主题下所有activity都包含action bar. (也可在Application或单独activity标签下明确设置主题样式: android:theme="@android:st...
分类:
移动开发 时间:
2015-03-07 19:57:03
阅读次数:
201
iOS8下面状态栏文字颜色变白:首先,设置Info.plist中的View controller-based status bar appearance为YES。其次 在appdelegate 中的didfinishlaunching中 加入 OC: [[UINavigationBar appear...
分类:
移动开发 时间:
2015-03-06 18:44:21
阅读次数:
143
应用程序可以使用Notifications来通知用户某个事件发生了(如收到短信)。类NotificationManager 用来处理Notification, NotificationManager可以:在Status Bar上显示一个新的图标。在Extended status bar 窗口上显示附...
分类:
移动开发 时间:
2015-03-06 18:40:49
阅读次数:
212