pano_review.xml revision f4814a46ed16acbd266ac5d3fa17ed3d48f02f28
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_review_layout"
19        android:visibility="invisible"
20        android:orientation="vertical"
21        android:gravity="fill_horizontal"
22        android:layout_width="match_parent"
23        android:layout_height="match_parent">
24
25    <ImageView android:id="@+id/pano_reviewarea"
26            android:scaleType="center"
27            android:layout_width="match_parent"
28            android:layout_height="match_parent" />
29
30    <View style="@style/PanoViewHorizontalGrayBar"
31            android:layout_alignParentTop="true" />
32
33    <LinearLayout android:id="@+id/pano_review_control"
34            style="@style/PanoViewHorizontalGrayBar"
35            android:gravity="right"
36            android:orientation="horizontal"
37            android:layout_alignParentBottom="true"
38            android:layout_width="match_parent">
39
40        <Button android:id="@+id/pano_review_retake_button"
41                android:text="@string/review_retake"
42                android:onClick="onRetakeButtonClicked"
43                android:textAppearance="?android:textAppearanceMedium"
44                android:minWidth="@dimen/pano_review_button_width"
45                android:layout_width="wrap_content"
46                android:layout_height="@dimen/pano_review_button_height" />
47        <Button android:id="@+id/pano_review_ok_button"
48                android:text="@string/review_ok"
49                android:textAppearance="?android:textAppearanceMedium"
50                android:onClick="onOkButtonClicked"
51                android:minWidth="@dimen/pano_review_button_width"
52                android:layout_width="wrap_content"
53                android:layout_height="@dimen/pano_review_button_height" />
54    </LinearLayout>
55</RelativeLayout>
56