Header

  1. View current page

    Sogang Android Project

Profile_img_60x60_06
39 229

정보(Android Project07)

 [ 회전운동 ]

-특정 원을 따라 회전하게 하는 방법입니다.(궤도를 따라 회전하게 합니다.)

-각속도, 삼각함수를 이용했습니다.

회전운동.png 

 

  [ SurfaceChange되도 화면은 가로로 고정시키기 ]

-Manifest -> Application -> Application Nodes에서 고정시킬 Activity 선택 -> Attributes for .GameActivity(Activity)의 Screen orientation을 Landscape로 설정

-고정시킬 View의 xml -> android:orientation="horizontal"
                                   android:layout_width="wrap_content"
                                   android:layout_height="wrap_content"
로 변경합니다.

-이렇게 하면 화면이 돌아가도 잘리거나 하지 않아요. (김민재선배님의 정보)

History

Last edited on 04/24/2010 15:40 by ohg

Comments (1)

  • 그후최초

    이거 준혁이가 알려준거자나

    10/25/2010 20:11
You must log in to leave a comment. Please sign in.