Demonstrates a technique of building Android Wear watch faces using standard Android layouts, rather than drawing to the Canvas directly.
Please be aware that this is a
sample
, and while it does work, it is not meant to be a full-featured watch face.
Source code is available on GitHub at https://github.com/StringMon/layout-watch-face
A full writeup on this technique, and the making of this watch face, can be found at https://sterlingudell.wordpress.com/2015/05/10/layout-based-watch-faces-for-android-wear/
演示构建Android Wear手表的面孔使用标准的Android的布局,而不是直接绘制到画布的技术。
请注意,这是一个
样品,虽然它的工作,它并不意味着是一个全功能的手表表面。
源代码可以在GitHub在https://github.com/StringMon/layout-watch-face
一个完整的书面记录这个技术,这个表盘的制作,可以在https://sterlingudell.wordpress.com/2015/05/10/layout-based-watch-faces-for-android-wear/被发现