pano_review.xml revision 74f32b673da52e3ba3fa83cc53b8fa036d552481
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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18        android:id="@+id/pano_review_layout"
19        android:visibility="invisible"
20        android:orientation="vertical"
21        android:layout_width="match_parent"
22        android:layout_height="match_parent">
23
24    <LinearLayout android:id="@+id/pano_review_control"
25            style="@style/PanoViewHorizontalBar"
26            android:gravity="right"
27            android:orientation="horizontal"
28            android:layout_alignParentBottom="true"
29            android:layout_width="match_parent">
30
31        <TextView android:id="@+id/pano_review_cancel_button"
32                android:text="@string/review_cancel"
33                android:clickable="true"
34                android:onClick="onCancelButtonClicked"
35                android:textAppearance="?android:textAppearanceMedium"
36                android:minWidth="@dimen/pano_review_button_width"
37                android:layout_width="wrap_content"
38                android:layout_height="@dimen/pano_review_button_height" />
39    </LinearLayout>
40
41    <ImageView android:id="@+id/pano_reviewarea"
42            android:scaleType="fitCenter"
43            android:layout_width="match_parent"
44            android:layout_height="@dimen/pano_mosaic_surface_height" />
45
46    <RelativeLayout style="@style/PanoViewHorizontalBar">
47        <TextView android:id="@+id/pano_review_saving_indication"
48                android:text="@string/pano_review_saving_indication_str"
49                android:textSize="@dimen/pano_review_saving_indication_size"
50                android:layout_alignParentLeft="true"
51                android:layout_centerVertical="true"
52                android:layout_marginLeft="20dp"
53                android:layout_width="wrap_content"
54                android:layout_height="wrap_content" />
55
56        <com.android.camera.panorama.PanoProgressBar
57                android:id="@+id/pano_saving_progress_bar"
58                android:src="@drawable/ic_pan_progression"
59                android:layout_centerInParent="true"
60                android:layout_width="wrap_content"
61                android:layout_height="wrap_content" />
62    </RelativeLayout>
63</LinearLayout>
64