码迷,mamicode.com
首页 >  
搜索关键字:progress bar    ( 6334个结果
Android ActionBar详解(一):ActionBar概述及其创建
在Android 3.0中除了我们重点讲解的Fragment外,Action Bar也是一个重要的内容,Action Bar主要是用于代替传统的标题栏,对于Android平板设备来说屏幕更大它的标题使用Action Bar来设计可以展示更多丰富的内容,方便操控。 Action Bar主要功能包含:....
分类:移动开发   时间:2014-11-12 13:32:03    阅读次数:182
[LeetCode]Largest Rectangle in Histogram
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram. Above is a histogram where wid...
分类:其他好文   时间:2014-11-11 22:52:05    阅读次数:247
如何解决ORA-01033问题(转)
Oracle错误:ORA-01033错误编码:ORA-01033: ORACLE initialization or shutdown in progress故障描述:因为移动了数据库文件([NAME].DMP)/日志文件等文件,导致数据库连接出现ORA-01033错误。故障分析:网上有一种常见的说...
分类:其他好文   时间:2014-11-11 16:21:10    阅读次数:175
Mediawiki.org的PHP编码约定
http://www.mediawiki.org/wiki/Manual:Coding_conventions/PHPassignment作为expression来用看起来像个错误// Noif ( $a = foo() ) { bar();}// Yes$a = foo();if ( $a ...
分类:Web程序   时间:2014-11-10 19:50:20    阅读次数:209
IOS7修改Navigation Bar上的返回按钮文本颜色,箭头颜色以及导航栏按钮的颜色
解决方法 1:自从IOS7后UINavigationBar的一些属性的行为发生了变化.你可以在下图看到:现在,如果你要修改它们的颜色,用下面的代码:1234self.navigationController.navigationBar.barTintColor=[UIColorblackColor]...
分类:移动开发   时间:2014-11-10 19:26:26    阅读次数:237
iOS 自定义各类bar的属性
在iOS应用开发中,经常需要为导航栏和标签栏设置相同的主题,一个一个去设置的话,就太麻烦了,可以通过对应用中所有的导航栏和标签栏同意设置背景、字体等属性。 如:创建一个继承自“UINavigationController”的公共父类,然后应用中所有的NavigationController都继...
分类:移动开发   时间:2014-11-08 18:00:51    阅读次数:210
iOS 在TabViewController中设置Tab Bar,且实现自定义
开发环境:Xcode 6.1 iOS 7.1.2 & iOS 8.1 实现功能一,在打开APP时即显示第三个Tab对应的View; 实现功能二,给每一个Tab设置图片和选中图片。 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOption...
分类:移动开发   时间:2014-11-08 02:10:50    阅读次数:204
Android学习之------SeekBar(控制wav音频的声音)
使用SeekBar调节声音SeekBar控件其实就是一个高级点的进度条,就像我们在听歌,看电影用的播放器上的进度条一样,是可以拖动的,可以改变进度的一个进度条控件!SeekBar常用属性:android:max[integer]//设置拖动条的最大值android:progress[integer]...
分类:移动开发   时间:2014-11-07 16:46:01    阅读次数:267
iOS7下隐藏statusbar
info.plist文件中,View controller-based status bar appearance项设为YES,则View controller对status bar的设置优先级高于application的设置。为NO则以application的设置为准,view controller的prefersStatusBarHidden方法无效,是根本不会被调用的。 一、如果V...
分类:移动开发   时间:2014-11-07 11:27:16    阅读次数:255
IOS7 edgesForExtendedLayout
在iOS 7中,苹果引入了一个新的属性,叫做[UIViewController setEdgesForExtendedLayout:],它的默认值为UIRectEdgeAll。当你的容器是navigation controller时,默认的布局将从navigation bar的顶部开始。这就是为什么所有的UI元素都往上漂移了44pt。有时会加上顶部tool bar的高度 20, 20+44 = 6...
分类:移动开发   时间:2014-11-07 11:25:19    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!