您的位置:首页 > 移动开发 > Android开发

Android Wear 进阶 5 Creating Watch Faces 创建表盘

2016-02-21 21:02 393 查看


Creating Watch Faces

Get
started


Dependencies and Prerequisites

Android 4.3 (API level 18) or higher on the handheld device
Android 5.0 (API level 21) or higher on the wearable device




DESIGN GUIDE

Watch Faces




VIDEO

DevBytes: Watch Faces for Android Wear

Watch faces in Android Wear leverage a dynamic digital canvas to tell time using colors, animations, and relevant contextual information. The Android
Wear companion app provides watch faces with different styles and shapes. When users select one of the available watch faces on the wearable or on the companion app, the wearable device previews the watch face and lets the user set configuration options.
手表表盘使用动态的数字的画布去用颜色,动画显示时间,和一些实质性的上下文信息。 Android
Wear companion app提供了不同的风格和尺寸的表盘。当用户选择了一个可以用的表盘在手表上或者相关的app 上面的时候。手表设备预览了手表的表盘并且让用户设置配置选项。
Android Wear enables you to create custom watch faces for Wear devices. When users install a handheld app that contains a wearable
app with watch faces, they become available in the Android Wear companion app on the handheld device and in the watch face picker on the wearable device.
Android 手表让你可以自定义手表的表盘。当用户安装了含有手表表盘应用的手机应用的时候。他们就可以在手机中的手表相应的应用选择相应的表盘。
This class teaches you to implement custom watch faces and to package them inside a wearable app. This class also covers design considerations and implementation tips to ensure that your designs integrate with system
UI elements and are power-efficient.
这个课程叫你去实现自定义的表盘,并且去将他们打包在手机的应用中。这个课程还包含了设计考虑点和实现小提示去保证你的设计可以整合到系统的UI项目中并且是电源高效的。

Note: We recommend using Android Studio for Android Wear development, as it provides project setup,
library inclusion, and packaging conveniences. This training assumes you are using Android Studio.

注意:我们建议使用android Studio


Lessons课程

Designing Watch Faces 设计手表表盘Learn how to design a watch face that works on any Android Wear device.学习使用设计表盘可以在任何的android 手表设备上面Building a Watch Face Service 创建一个手表表盘的服务Learn how to respond to important events during the lifecycle of your watch face.学习如何回复一些你的表盘的声明周期中重要的事情Drawing Watch Faces 画手表表盘Learn how to draw your watch face on a Wear device screen.学习如何在你的手表设备的屏幕上面画 你的表盘Showing Information in Watch Faces展示表盘的信息Learn how to incorporate contextual information into your watch face.学习去将上下文信息整合到你的表盘中Creating Interactive Watch Faces 创建交互的表盘Learn how to enable the user to interact with your watch face.学习开启用户可以和手表表盘交互的功能Providing Configuration Activities 提供配置的acitivtyLearn how to create watch faces with configurable parameters.学习通过配置参数去创建手表表盘Addressing Common Issues 定位常见的问题Learn how to fix common problems when developing a watch face.学习如何修复手表表盘开发中常见的问题Optimizing Performance and Battery Life 优化性能和手表电池寿命Learn how to improve the frame rate of your animations and how to save power.学习如何去提动画的帧速率和怎么节省电力
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: