51384a9898
There are several variations on orientation. iOS expposes a little more orientation information through its basic enum than Android does, but the more powerful Android API gives you degrees around a circle, which while strictly more powerful, doesn't tell you easily where the status bar is. What I'm thinking with this is the primary use of an orientation concept is to decide whether or not to lay out a UI for a wide screen. This gives you that. Later I hope the sensor API will give far more information about the physical orientation of the device. Change-Id: I00ff598853c7ed618cde266729d8d05e1a02a601 Reviewed-on: https://go-review.googlesource.com/13361 Reviewed-by: Nigel Tao <nigeltao@golang.org> |
||
---|---|---|
.. | ||
config | ||
key | ||
lifecycle | ||
mouse | ||
paint | ||
touch |