camera.xml revision 059daa36dc6e83ca24a16d9b99925e71010bcceb
1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2007 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/camera" 19 android:layout_width="fill_parent" 20 android:layout_height="fill_parent" 21 android:orientation="horizontal"> 22 23 <com.android.camera.VideoPreview 24 android:id="@+id/camera_preview" 25 android:layout_width="fill_parent" 26 android:layout_height="fill_parent" 27 android:layout_centerInParent="true" /> 28 29 <ImageView 30 android:id="@+id/gps_indicator" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:visibility="invisible" 34 android:clickable="false" 35 android:focusable="false" 36 android:layout_alignParentRight="true" 37 android:layout_alignParentTop="true" 38 android:layout_marginRight="18dp" 39 android:layout_marginTop="18dp"/> 40 41 <com.android.camera.FocusRectangle 42 android:id="@+id/focus_rectangle" 43 android:layout_width="276dp" 44 android:layout_height="168dp" 45 android:layout_centerInParent="true"/> 46</RelativeLayout> 47