camera_control.xml revision 95fd7f77171155a087b685ca405ac3891332f638
1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2009 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:orientation="vertical" 19 android:layout_height="match_parent" 20 android:layout_width="76dp" 21 android:paddingTop="13dp" 22 android:paddingBottom="3dp"> 23 24 <include layout="@layout/review_thumbnail"/> 25 26 <com.android.camera.ShutterButton android:id="@+id/shutter_button" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:layout_centerInParent="true" 30 android:scaleType="center" 31 android:clickable="true" 32 android:focusable="true" 33 android:src="@drawable/btn_ic_camera_shutter" 34 android:background="@drawable/btn_shutter"/> 35 36 <com.android.camera.SwitcherSet android:id="@+id/camera_switch" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:layout_alignParentBottom="true" 40 android:layout_centerHorizontal="true" 41 android:orientation="vertical" 42 android:gravity="center"> 43 <com.android.camera.ui.RotateImageView android:id="@+id/video_switch_icon" 44 android:layout_height="wrap_content" 45 android:layout_width="wrap_content" 46 android:src="@drawable/btn_ic_mode_switch_video"/> 47 <com.android.camera.Switcher android:id="@+id/switcher" 48 android:layout_width="wrap_content" 49 android:layout_height="70dp" 50 android:src="@drawable/btn_mode_switch_knob" 51 android:background="@drawable/btn_mode_switch_bg" /> 52 <com.android.camera.ui.RotateImageView 53 android:id="@+id/camera_switch_icon" 54 android:layout_height="wrap_content" 55 android:layout_width="wrap_content" 56 android:src="@drawable/btn_ic_mode_switch_camera"/> 57 </com.android.camera.SwitcherSet> 58</RelativeLayout> 59