2. Supporting Different Devices 支持不同的设备
Android devices come in many shapes and sizes all around the world. With a wide range of device types, you have an opportunity to reach a huge audience with your app. In order to be as successful as possible on Android, your app needs to adapt to various device configurations. Some of the important variations that you should consider include different languages, screen sizes, and versions of the Android platform.
Android设备在世界各地有很多形状和尺寸。 通过各种设备类型,您可以通过应用程序吸引大量观众。 为了在Android上尽可能地成功,您的应用程序需要适应各种设备配置。 您应该考虑的一些重要参数包括Android平台的不同语言,屏幕尺寸和版本。
This class teaches you how to use basic platform features that leverage alternative resources and other features so your app can provide an optimized user experience on a variety of Android-compatible devices, using a single application package (APK).
该课程教您如何使用基础平台功能,利用替代资源和其他功能,以便您的应用程序可以使用单个应用程序包(APK)在各种Android兼容设备上提供优化的用户体验。