가로로 VideoView를 표시해야하는 활동이 있지만 활동 자체가 가로 모드가 아니어야하므로 이것이 내가 가진 것입니다.Android Landscape 가로 세로 모드의 VideoView
<activity
android:name=".gui.VideoPlayer"
android:label="@string/app_name"
android:launchMode="singleTask"
android:screenOrientation="portrait" >
</activity>
<?xml version="1.0" encoding="utf-8"?>
활동
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >
<VideoView
android:id="@+id/myvideoview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center" />
</LinearLayout>
(장치가 탐색 및 상태 바로 커버 케이스에 넣어되기 때문에 그 자체가 세로 모드로 유지해야하지만 가로 모드에서 실 거예요 더 이상 그들을 다루 활동)
나는 [질문] [1] & this [answer] [2]가 귀하의 질문에 대답 할 수 있다고 생각합니다. [1] : http://stackoverflow.com/q/4434027/2978334 [2] : http://stackoverflow.com/a/4452597/2978334 –