Android Wear 2.0 Developer Preview 2 推出

android wear 2.0

在 Google I/O 公布了 Android Wear 2.0,并随即推出了 Developer Preview。经过一个多月的时间,Google 推出 Android Wear 2.0 Developer Preview 2。

Developer Preview 2 加入了一些改动。首先 API Level 为 24,跟 Android Nougat 一致。第二项是 Drawer 改进,用家在卷动画面时可以更容易查看 Drawer。最后就是手腕操作开放。上年用家可以手腕操作检视通知 Notification,现在这个操作亦开放给其他 Apps 使用,Developers 可以在 App 内加入支援这项功能。

Platform API 24 – We have incremented the Android Platform API version number to 24 to match Nougat. You can now update your Android Wear 2.0 Preview project’s compileSdkVersion to API 24, and we recommend that you also update targetSdkVersion to API 24.

Wearable Drawers Enhancements – We launched the wearable drawers as part of the Android Wear 2.0 Preview 1, along with UX guidelines on how to best integrate the navigation drawer and action drawer in your Android Wear app. In Preview 2, we have added additional support for wearable drawer peeking, to make it easier for users to access these drawers as they scroll. Other UI improvements include automatic peek view and navigation drawer closure and showing the first action in WearableActionDrawer’s peek view. For developers that want to make custom wearable drawers, we’ve added peek_view and drawer_content attributes to WearableDrawerView. And finally, navigation drawer contents can now be updated by calling notifyDataSetChanged.

Wrist Gestures – Since last year, users have been able to scroll through the notification stream via wrist gestures. We have now opened this system to developers to use within their applications. This helps improve single hand usage, for when your users need their other hand to hold onto their shopping or their kids.

Android Wear 2.0 Developer Preview 2 下载连结
在 Developer Page 内,有 LG Watch Urbane 2nd Edition 和 Huawei Watch 两只手表的 Developer Preview 2 的 System Image 下载,可以在手表刷上。

https://developer.android.com/wear/preview/downloads.html

发布留言