surface_view.xml revision d3b0d642c9f87acf586868139d4a54f43b2a71ad
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"    
18  android:layout_width="fill_parent" 
19  android:layout_height="fill_parent"
20  android:orientation="vertical">
21
22  <FrameLayout
23    android:layout_width="fill_parent"
24    android:layout_height="fill_parent">
25    
26  <SurfaceView
27     android:id="@+id/surface_view"
28     android:layout_width="fill_parent"
29     android:layout_height="fill_parent"
30     android:layout_centerInParent="true"
31     />
32     
33  <VideoView 
34   android:id="@+id/video_view" 
35        android:layout_width="320px"
36        android:layout_height="240px"
37  />
38  
39  </FrameLayout>
40    
41</LinearLayout>
42
43