sensorPortait typo

旧街凉风 提交于 2019-12-06 02:04:55

问题


http://developer.android.com/reference/android/R.attr.html#screenOrientation

is sensorPortait a typo mistake? I see threads around guiding people to use sensorPortrait but my eclipse works with sensorPortait instead.


回答1:


It doesn't matter - its consistent, also for reversePortait, and as you said, eclipse doesn't let you use sensorPortrait.

But my guess is that someone in Google is copy-pasting too much...



来源:https://stackoverflow.com/questions/7964848/sensorportait-typo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!