my_bar.xml //配置进度条的图片@drawable/ok @drawable/no 为图片保存在drawable文件夹中布局文件中进度条配置 android:id="@+id/bar" android:layout_width="fill_pare...
分类:
移动开发 时间:
2014-11-04 10:57:56
阅读次数:
289
在iOS 7中,苹果引入了一个新的属性,叫做[UIViewController setEdgesForExtendedLayout:],它的默认值为UIRectEdgeAll。当你的容器是navigation controller时,默认的布局将从navigation bar的顶部开始。这就是为什么...
分类:
其他好文 时间:
2014-11-04 10:38:21
阅读次数:
133
1 其他形式的线性直角坐标图 在线性直角坐标系中,其他形式的图形有条形图、阶梯图、杆图和填充图等,所采用的函数分别是:bar(x,y,选项)%条形图stairs(x,y,选项)%阶梯图stem(x,y,选项)%杆图fill(x1,y1,选项1,x2,y2,选项2...)%填充图前3个函数的用法与p....
分类:
其他好文 时间:
2014-11-03 22:21:35
阅读次数:
214
在項目的info.plist文件中,添加以下兩對鍵值:Status bar is initially hidden --> BOOL --> YESView controller-based status bar appearance --> BOOL --> NO
分类:
其他好文 时间:
2014-11-03 19:15:29
阅读次数:
182
iOS开发UI篇—UITabBarController生命周期(使用storyoard搭建)一、UITabBarController在storyoard中得搭建1.新建一个项目,把storyboard中默认的控制器删除,拖UITab Bar Controller。2.创建viewcontroller...
分类:
移动开发 时间:
2014-11-02 22:20:46
阅读次数:
222
iOS开发UI篇—Date Picker和UITool Bar控件简单介绍一、Date Picker控件1.简单介绍:Date Picker显示时间的控件有默认宽高,不用设置数据源和代理如何改成中文的?(1)查看当前系统是否为中文的,把模拟器改成是中文的(2)属性,locale选择地区如果默认显示不...
分类:
移动开发 时间:
2014-11-02 19:36:06
阅读次数:
279
转自:http://stackoverflow.com/questions/17074365/status-bar-and-navigation-bar-appear-over-my-views-bounds-in-ios-7Question:I recently downloaded Xcode ...
分类:
移动开发 时间:
2014-11-01 16:06:54
阅读次数:
222
1、const用于类成员变量定义,一旦定义且不能改变其值。define定义全局常量,在任何地方都可以访问。2、define不能在类中定义而const可以。3、const不能在条件语句中定义常量if (...) { const FOO = 'BAR'; // invalid}butif (...) {...
分类:
Web程序 时间:
2014-10-30 18:48:15
阅读次数:
194
IntelliJ Idea 常用快捷键列表
Alt+D 进入/退出全屏(Enter Full Screen)
Alt+S 显示/隐藏状态栏(Status Bar)
Alt+T 显示/隐藏工具栏(Toolbar)
Alt+B 显示/隐藏工具按钮(Tool Buttons)
Alt+N 显示/隐藏导航栏(Navigation Bar)
Alt+回车 导入...
分类:
其他好文 时间:
2014-10-30 15:23:59
阅读次数:
235
Givennnon-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.Fo...
分类:
移动开发 时间:
2014-10-30 01:41:48
阅读次数:
169