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