pano_capture.xml revision bfb958a707ce0e08d2142c81a278ec12b61083e0
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18        android:id="@+id/pano_capture_layout"
19        android:layout_width="match_parent"
20        android:layout_height="match_parent">
21
22    <LinearLayout
23            android:layout_width="match_parent"
24            android:layout_height="match_parent"
25            android:orientation="horizontal">
26
27        <LinearLayout android:id="@+id/pano_capture_preview"
28                android:layout_width="0dp"
29                android:layout_height="match_parent"
30                android:layout_weight="1"
31                android:orientation="vertical">
32
33            <ImageView style="@style/PanoViewHorizontalGrayBar"/>
34
35            <com.android.camera.panorama.MosaicRendererSurfaceView
36                    android:id="@+id/pano_renderer"
37                    android:layout_gravity="center"
38                    android:layout_width="match_parent"
39                    android:layout_height="@dimen/pano_mosaic_surface_height" />
40
41            <RelativeLayout style="@style/PanoViewHorizontalGrayBar">
42                <com.android.camera.panorama.PanoProgressBar
43                        android:id="@+id/pano_capture_view"
44                        android:visibility="gone"
45                        android:src="@drawable/ic_pan_progression"
46                        android:layout_centerInParent="true"
47                        android:layout_width="wrap_content"
48                        android:layout_height="wrap_content" />
49            </RelativeLayout>
50
51        </LinearLayout>
52        <include layout="@layout/camera_control" />
53
54    </LinearLayout>
55
56    <TextView android:id="@+id/pano_capture_too_fast_textview"
57        android:text="@string/pano_too_fast_prompt"
58        android:textAppearance="?android:textAppearanceMedium"
59        android:layout_height="@dimen/pano_capture_too_fast_text_height"
60        android:layout_width="wrap_content"
61        android:visibility="gone"
62        android:layout_centerInParent="true" />
63
64</RelativeLayout>
65