1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2012 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<RelativeLayout 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:id="@+id/camera_controls" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:background="@color/default_background" > 22 23 <ImageView 24 android:id="@+id/shutter_button" 25 android:layout_width="wrap_content" 26 android:layout_height="wrap_content" 27 android:layout_centerVertical="true" 28 android:layout_alignParentRight="true" 29 android:layout_marginRight="@dimen/shutter_offset" 30 android:contentDescription="@string/accessibility_shutter_button" 31 android:scaleType="center" 32 android:src="@drawable/btn_new_shutter" /> 33 34 <include 35 android:layout_width="64dip" 36 android:layout_height="64dip" 37 android:layout_above="@id/shutter_button" 38 android:layout_alignParentRight="true" 39 android:layout_marginRight="6dip" 40 android:layout_marginTop="-5dip" 41 layout="@layout/menu_indicators_keyguard" /> 42 43 <ImageView 44 android:id="@+id/camera_switcher" 45 style="@style/SwitcherButton" 46 android:layout_below="@id/shutter_button" 47 android:layout_alignParentRight="true" 48 android:layout_marginRight="2dip" 49 android:contentDescription="@string/accessibility_mode_picker" 50 android:scaleType="center" 51 android:src="@drawable/ic_switch_camera" /> 52 53 <ImageView 54 android:id="@+id/camera_switcher_ind" 55 style="@style/SwitcherButton" 56 android:layout_below="@id/shutter_button" 57 android:layout_alignParentRight="true" 58 android:layout_marginRight="2dip" 59 android:contentDescription="@string/accessibility_mode_picker" 60 android:scaleType="center" 61 android:src="@drawable/ic_switcher_menu_indicator" /> 62 63</RelativeLayout> 64