Add one of the CTS test videos so the demo works out of the box, and make the video fill the screen instead of hardcoding it to a tiny size. Change-Id: Ie26a4ae0e186fe966d0679b088492a0c7d035713
15 lines
415 B
XML
15 lines
415 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
|
|
<VideoView
|
|
android:id="@+id/surface_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
/>
|
|
|
|
</FrameLayout>
|