Managing the Activity Lifecycle 管理activity的生命周期 Dependencies and prerequisites 依赖关系和先决条件 How to create an Android project (see Creating an Android Project) 如何创建一个Android项目(请看Creating an Android Project) You should also read 你还需要阅读 Activities As a use…
Supporting Different Platform Versions 支持不同的平台版本 This lesson teaches you to 这节课教给你 Specify Minimum and Target API Levels 指定最小和目标API等级 Check System Version at Runtime 检查运行时的系统版本 Use Platform Styles and Themes 使用平台样式和主题 You should also read 你还应该阅读 Andr…
Supporting Different Screens 支持不同的屏幕 This lesson teaches you to 这节课教给你 Create Different Layouts 创建不同的布局 Create Different Bitmaps 创建不同的位图 You should also read 你还应该阅读 Designing for Multiple Screens 为多种屏幕进行设计 Providing Resources 提供资源 Iconography design…
Supporting Different Devices 支持不同设备 Dependencies and prerequisites 依赖关系和先决条件 Android 1.6 or higher Android 1.6 及其以上版本 You should also read 你还需要阅读 Application Resources 应用程序资源 Designing for Multiple Screens 为不同的屏幕进行设计 Android devices come in many shap…
Styling the Action Bar 设计菜单栏的样式 This lesson teaches you to 这节课教给你 Use an Android Theme 使用一个Android主题 Customize the Background 定义背景 Customize the Text Color 定义文本颜色 Customize the Tab Indicator 定义标签指示器 You should also read 你还应该读 Styles and Themes 样式和主题…
Pausing and Resuming an Activity 暂停和恢复一个activity This lesson teaches you to 这节课教给你 Pause Your Activity 暂停你的Activity Resume Your Activity 恢复你的Activity You should also read 你还应该阅读 Activities During normal app use, the foreground activity is sometimes o…
Getting Started 让我们开始吧! Welcome to Training for Android developers. 欢迎来到Android开发者训练营. Here you'll find sets of lessons within classes that describe how to accomplish a specific task with code samples you can re-use in your app. 在这里你可以发现一系列的课程,这些课程是描…
Starting Another Activity 开启另一个Activity This lesson teaches you to 这节课教给你: Respond to the Send Button 给发送按钮设置响应 Build an Intent 创建一个意图 Start the Second Activity 开启第二个Activity Create the Second Activity 创建第二个Activity Receive the Intent 接受意图 Display th…
最近在自学android,抽空把官方文档的guide跟training差不多看了一遍,又对比了一些书籍,感觉还是官方文档讲得比较好,所以自己计划把官方文档翻译一下,方便自己的知识巩固以及复习查找,由于英文不是非常好,所以翻译得不是很好,有不好的地方欢迎大家指出哈, 由于之前已经看过官方文档了,感觉最佳的路线是跟着官方training操作,遇到知识点或者不懂的再去guide跟reference中查找阅读,所以先从trainging翻译起了.针对官方文档,在翻译的基础上加入了一些自己的解释,希望能够…
Starting an Activity 开启一个Activity This lesson teaches you to 这节课教给你 Understand the Lifecycle Callbacks 理解生命周期回调 Specify Your App's Launcher Activity 声明你的App的启动Activity Create a New Instance 创建一个新的实例 Destroy the Activity 销毁Activity You should also rea…