Screen orientation of an android application -


is possible write code on android manifest file automatically change screen orientation according device screen size?.

may you:

instead of fixing orientation on manifest, use setrequestedorientation. on oncreate method of each activity, check if on tablet or smartphone , set desired orientation.

another option creating multiple apks different screen sizes, depending on needs.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -