'screenOrientation'에 해당되는 글 1건

  1. 2011.06.02 Android - portrait or landscape hold /화면 고정 시키기 / 회전 잠금
posted by Solver Full-stack Developer 2011.06.02 14:35
1.

u r manifest file

<activity android:name=".UICommand" android:screenOrientation="portrait"
   android:configChanges="keyboardHidden|orientation"></activity>


portrait, landscape, sensor... ect..


2.

setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); 




 
신고