어플 실행시, 가로/세모로드를 고정시키고 싶다면,


AndroidManifest.xml 문서를 수정해야한다.



<activity>태그 사이에


android:screenOrientation="landscape"를 넣으면 가로,


android:screenOrientation="portrait"를 넣으면 세로,


android:screenOrientation="sensorLandscape" 가로 & 180도 회전시 화면전환,


android:screenOrientation="sensorPortrait" 세로 & 180도 회전시 화면전환.


</activity>




http://developer.android.com/guide/topics/manifest/activity-element.html#screen

'Computer > Android(안드로이드)' 카테고리의 다른 글

[안드로이드] 화면꺼짐 방지  (0) 2015.07.17
appcompat_v7 프로젝트의 역할  (0) 2015.03.24
 

E - Mail

lewis.yongmin@gmail.com

카테고리

분류 전체보기 (113)
Computer (29)
Share Info(정보나눔) (9)
Ireland(2013. 9 - 20.. (31)
Trip (43)
ETC (1)