StringMon / layout-watch-face

A sample watch face for Android Wear built using layouts.
18 stars 4 forks source link

moto 360 2nd gen #1

Open viktoschi opened 8 years ago

viktoschi commented 8 years ago

hi that watchface does not work correct on moto 360 2nd gen.

03-27 19:33:30.423 1634-1634/weardrip.weardrip E/displaySize:: Point(360, 325) 03-27 19:33:30.476 1634-1634/weardrip.weardrip E/isround:: true 03-27 19:33:30.476 1634-1634/weardrip.weardrip E/specW:: 1073742112 03-27 19:33:30.476 1634-1634/weardrip.weardrip E/EXACTLY:: 1073741824 03-27 19:33:30.476 1634-1634/weardrip.weardrip E/specH:: 1073742077 03-27 19:33:30.476 1634-1634/weardrip.weardrip E/EXACTLY:: 1073741824

viktoschi commented 8 years ago

https://github.com/StringMon/layout-watch-face/blob/master/wear/src/main/java/com/udellent/layoutwatchface/LayoutFaceService.java#L196toL199 settet both to mXOffset = mYOffset = 0; this works in my case