2011년 5월 18일 수요일

폰 회전시 화면이 가로 또는 세로로 회전하지 않도록 고정 시키는 방법

폰 회전시 화면이 가로 또는 세로로 회전하지 않도록 고정 시키는 방법

1. 세로로 고정

android:screenOrientation="portrait"

2. 가로로 고정

android:screenOrientation="landscape"


AndroidManifest.xml 내에 Tag에 추가하면 된다.


댓글 없음: