1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- BEGIN_INCLUDE(complete) -->
18<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent" android:layout_height="match_parent"
20    >
21    <view class="com.example.android.apis.view.VideoPlayerActivity$Content"
22        android:id="@+id/content"
23        android:src="@drawable/frantic"
24        android:layout_width="match_parent"
25        android:layout_height="match_parent"
26        android:scaleType="center"
27        />
28    <FrameLayout
29        android:layout_width="match_parent"
30        android:layout_height="match_parent"
31        android:fitsSystemWindows="true"
32        android:animateLayoutChanges="true"
33        >
34        <TextView
35            android:id="@+id/title"
36            android:layout_width="match_parent"
37            android:layout_height="wrap_content"
38            android:layout_gravity="top|center_horizontal"
39            android:textColor="#ffffffff"
40            android:background="#a0000000"
41            android:textAppearance="?android:attr/textAppearanceLarge"
42            android:gravity="left"
43            android:padding="16dp"
44            android:text="A title goes here"
45            />
46        <Button
47            android:id="@+id/play"
48            android:layout_width="wrap_content"
49            android:layout_height="wrap_content"
50            android:layout_gravity="center"
51            android:gravity="center"
52            android:textSize="28dp"
53            />
54        <SeekBar
55            android:id="@+id/seekbar"
56            android:layout_width="match_parent"
57            android:layout_height="wrap_content"
58            android:layout_gravity="bottom|center_horizontal"
59            android:layout_marginBottom="16dp"
60            />
61    </FrameLayout>
62</FrameLayout>
63<!-- END_INCLUDE(complete) -->
64