1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2013 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" > 21 22 <com.android.camera.ui.FilmStripView 23 android:id="@+id/filmstrip_view" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" /> 26 27 <ImageButton 28 android:id="@+id/filmstrip_bottom_control_panorama" 29 android:layout_width="70dp" 30 android:layout_height="70dp" 31 android:layout_gravity="bottom|center_horizontal" 32 android:background="@drawable/transparent_button_background" 33 android:clickable="true" 34 android:paddingBottom="5dp" 35 android:paddingLeft="5dp" 36 android:paddingRight="5dp" 37 android:paddingTop="5dp" 38 android:visibility="gone" 39 android:src="@drawable/ic_view_photosphere" /> 40 41 <LinearLayout 42 android:id="@+id/pano_stitching_progress_panel" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:layout_gravity="bottom|center_horizontal" 46 android:paddingBottom="52dp" 47 android:paddingLeft="5dp" 48 android:paddingRight="5dp" 49 android:paddingTop="5dp" 50 android:visibility="gone" 51 android:orientation="vertical"> 52 53 <TextView 54 android:id="@+id/pano_stitching_progress_text" 55 android:text="@string/pano_progress_text" 56 android:textColor="#ffffffff" 57 android:textSize="14dp" 58 android:shadowColor="#ff000000" 59 android:shadowDx="0" 60 android:shadowDy="0" 61 android:shadowRadius="2" 62 android:layout_width="wrap_content" 63 android:layout_height="wrap_content" 64 android:layout_alignParentRight="true" 65 android:paddingBottom="8dp" 66 android:visibility="visible" 67 android:layout_gravity="right"/> 68 69 <ProgressBar 70 android:id="@+id/pano_stitching_progress_bar" 71 style="@android:style/Widget.Holo.Light.ProgressBar.Horizontal" 72 android:layout_width="match_parent" 73 android:layout_height="wrap_content" 74 android:visibility="visible" 75 android:layout_gravity="bottom|center_horizontal" /> 76 </LinearLayout> 77 78</FrameLayout> 79