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

c++ - Linked List error when inserting for the last time -

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

tsql - Pivot with Temp Table (definition for column must include data type) -- SQL Server 2008 -