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_height="match_parent" 22 android:layout_width="match_parent"> 23 24 <LinearLayout android:id="@+id/pano_review_control" 25 style="@style/PanoViewHorizontalBar" 26 android:gravity="right" 27 android:orientation="horizontal"> 28 29 <com.android.camera.ui.RotateLayout 30 android:id="@+id/pano_review_cancel_button_layout" 31 android:layout_gravity="right|center_vertical" 32 android:layout_marginRight="20dp" 33 android:layout_width="match_parent" 34 android:layout_height="match_parent"> 35 <TextView android:id="@+id/pano_review_cancel_button" 36 android:text="@string/review_cancel" 37 android:background="@drawable/bg_pressed" 38 android:gravity="center" 39 android:clickable="true" 40 android:onClick="onCancelButtonClicked" 41 android:textSize="12sp" 42 android:minWidth="@dimen/pano_review_button_width" 43 android:layout_height="match_parent" 44 android:layout_width="wrap_content" /> 45 </com.android.camera.ui.RotateLayout> 46 </LinearLayout> 47 48 <ImageView android:id="@+id/pano_reviewarea" 49 android:scaleType="fitCenter" 50 android:layout_width="match_parent" 51 android:layout_height="@dimen/pano_mosaic_surface_height" /> 52 53 <RelativeLayout style="@style/PanoViewHorizontalBar"> 54 <com.android.camera.ui.RotateLayout 55 android:id="@+id/pano_review_saving_indication_layout" 56 android:layout_alignParentLeft="true" 57 android:layout_centerVertical="true" 58 android:layout_marginLeft="20dp" 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content"> 61 <TextView android:id="@+id/pano_review_saving_indication" 62 android:text="@string/pano_review_saving_indication_str" 63 android:textAppearance="?android:textAppearanceMedium" 64 android:layout_height="wrap_content" 65 android:layout_width="wrap_content" /> 66 </com.android.camera.ui.RotateLayout> 67 68 <com.android.camera.ui.RotateLayout 69 android:id="@+id/pano_saving_progress_bar_layout" 70 android:layout_centerInParent="true" 71 android:layout_height="wrap_content" 72 android:layout_width="wrap_content"> 73 <com.android.camera.panorama.PanoProgressBar 74 android:id="@+id/pano_saving_progress_bar" 75 android:src="@drawable/ic_pan_progression" 76 android:layout_centerInParent="true" 77 android:layout_height="wrap_content" 78 android:layout_width="wrap_content" /> 79 </com.android.camera.ui.RotateLayout> 80 </RelativeLayout> 81</LinearLayout> 82