-1
Videoview Androidのは、これが彼のXMLセンタービデオ - 特定のビデオを果たしている私は、ビデオのビューを持っている
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="match_parent">
Some other views
<VideoView
android:id = "@+id/video"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_gravity="center"
android:layout_alignParentStart="true"
/>
</RelativeLayout>
私がプレー今までとき、私はまだ、それにビデオを中央にしようとしていますですビデオ、 これは中心には表示されず、場所の変更はビデオに依存しますが、どのように中心化しますか?
の試みで示します'Video View'で' android:layout_centerInParent = "true"。 –
は役に立たなかった – 2D3D
http://stackoverflow.com/questions/10518283/fullscreen-videoview-isnt-centeredの可能な複製 –