SensorPortait typo

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

is a sensorport typo error? I see threads around telling people to use sensorPortrait, but my eclipse works instead of sensorPortait.

+6
source share
1 answer

It doesn't matter - its consistent, also for reversePortait, and as you said, eclipse doesn't allow sensorPortrait to be used.

But I guess someone from Google will copy too much ...

+6
source

Source: https://habr.com/ru/post/900495/


All Articles