码迷,mamicode.com
首页 >  
搜索关键字:学习路线    ( 1163个结果
Android学习路线(十四)Activity生命周期——停止和重启(Stopping and Restarting)一个Activity
Properly stopping and restarting your activity is an important process in the activity lifecycle that ensures your users perceive that your app is always alive and doesn't lose their progress. There are a few of key scenarios in which your activity is stop...
分类:移动开发   时间:2014-08-09 02:36:17    阅读次数:496
Android学习路线(十五)Activity生命周期——重新创建(Recreating)一个Activity
There are a few scenarios in which your activity is destroyed due to normal app behavior, such as when the user presses the Back button or your activity signals its own destruction by calling finish(). The system may also destroy your activity if it's curr...
分类:移动开发   时间:2014-08-09 02:35:56    阅读次数:492
Android学习路线(十一)管理Activity的生命周期
当一个用户进入,退出,再次进入你的应用时,你的应用中的Activity 会在它的生命周期的各个状态下切换。例如,当你的activity第一次启动,它出现在系统的前方接受用户的焦点。在这个过程中,Android系统调用了一系列的生命周期方法来设置UI和其他组件。如果用户执行了一个操作,启动了另一个activity或者切换到其它应用中,你的activity会移动到后台(这时activity已经不可见,但是它的实力和状态都保持不变),系统会调用另外的一些生命周期方法。...
分类:移动开发   时间:2014-08-08 08:29:35    阅读次数:181
Android学习路线(十二)Activity生命周期——启动一个Activity
Unlike other programming paradigms in which apps are launched with a main()method, the Android system initiates code in an Activity instance by invoking specific callback methods that correspond to specific stages of its lifecycle. There is a sequence of c...
分类:移动开发   时间:2014-08-08 08:28:45    阅读次数:539
ios学习路线_OC基础语法
OC是面向对象的语言,同java,python等等一样。OC中的变量类命名同其他对象语言基本类似,写法遵循驼峰法则一般命名用到的是下划线,字母,开头字符非数字,网上很多有说也可以$符号,其实命名中基本不会用到这个OC里面的关键字也不多,如图:OC中分基本数据类型和指针类型(即..
分类:移动开发   时间:2014-08-07 07:37:40    阅读次数:308
Android学习路线(八)为Action bar添加action按钮
Action bar允许你为与当前应用上下文相关的最重要的action items添加action按钮。那些直接显示在action bar上的icon或者文字都被称作action buttons。那些不适合action bar或者不是那么重要的Actions将会被隐藏在action overflow(译者注:action bar最右侧的垂直的三个点)里。...
分类:移动开发   时间:2014-08-07 03:08:28    阅读次数:409
Android学习路线(九)为Action Bar添加Style
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
Android学习路线(十)如何将Action Bar叠放在你的布局上
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
Android学习路线(七)设置Action Bar
设置一个基本的action bar需要你的应用使用支持action bar的主题。如何来请求这样的主题要看你所选择的你的应用最低支持的Android版本。因此本课会根据应用支持的不同的Android最低版本分为两个部分。...
分类:移动开发   时间:2014-08-07 00:50:57    阅读次数:416
Android学习路线(六)为Android应用添加ActionBar
Action bar 是你可以为你的应用的Activity实现的最为重要的设计元素之一。它提供了集中UI特性,并且通过提供和其他的Android应用的一致性体验让你的应用能够很快被用户熟悉。主要的功能包括: 一个专用的显示应用表示的地方,并且能够指出用户当前在应用中的位置。 用户能够很方便地访问重要的功能(例如搜索)。 提供视图切换导航(通过tab,或者下拉列表)。...
分类:移动开发   时间:2014-08-06 22:55:42    阅读次数:355
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!