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 样式和主题…
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…
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…
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…
最近在自学android,抽空把官方文档的guide跟training差不多看了一遍,又对比了一些书籍,感觉还是官方文档讲得比较好,所以自己计划把官方文档翻译一下,方便自己的知识巩固以及复习查找,由于英文不是非常好,所以翻译得不是很好,有不好的地方欢迎大家指出哈, 由于之前已经看过官方文档了,感觉最佳的路线是跟着官方training操作,遇到知识点或者不懂的再去guide跟reference中查找阅读,所以先从trainging翻译起了.针对官方文档,在翻译的基础上加入了一些自己的解释,希望能够…
Building a Simple User Interface 创建一个简单的用户界面 This lesson teaches you to 这节课将教给你: Create a Linear Layout 创建一个线性布局 Add a Text Field 增加一个文本域 Add String Resources 增加一个String(字符串)资源 Add a Button 增加一个按钮 Make the Input Box Fill in the Screen Width 让输入框充满屏幕的…
Running Your App If you followed the previous lesson to create an Android project, it includes a default set of "Hello World" source files that allow you to immediately run the app. 如果你跟着前面的课程创建了一个Android项目,这个项目包括一系列默认的"Hello World"资源文…
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. 在这里你可以发现一系列的课程,这些课程是描…