blob: f0f4362aa416e749f871aba98f79d55c72120459 [file] [log] [blame]
Michael Kolb3148b182013-01-29 14:03:06 -08001<?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-->
Michael Kolb05530502013-05-06 12:41:34 -070016<RelativeLayout
17 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@+id/camera_controls"
Michael Kolb3148b182013-01-29 14:03:06 -080019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Michael Kolb05530502013-05-06 12:41:34 -070021 android:background="@color/default_background" >
Michael Kolb3148b182013-01-29 14:03:06 -080022
23 <ImageView
Michael Kolb05530502013-05-06 12:41:34 -070024 android:id="@+id/shutter_button"
Michael Kolb3148b182013-01-29 14:03:06 -080025 android:layout_width="wrap_content"
26 android:layout_height="wrap_content"
Michael Kolb3148b182013-01-29 14:03:06 -080027 android:layout_centerVertical="true"
Michael Kolb05530502013-05-06 12:41:34 -070028 android:layout_alignParentRight="true"
Michael Kolb3148b182013-01-29 14:03:06 -080029 android:layout_marginRight="@dimen/shutter_offset"
Michael Kolb05530502013-05-06 12:41:34 -070030 android:contentDescription="@string/accessibility_shutter_button"
31 android:scaleType="center"
Michael Kolb3148b182013-01-29 14:03:06 -080032 android:src="@drawable/btn_new_shutter" />
33
Michael Kolb05530502013-05-06 12:41:34 -070034 <include
35 android:layout_width="64dip"
36 android:layout_height="64dip"
37 android:layout_above="@id/shutter_button"
Michael Kolb3148b182013-01-29 14:03:06 -080038 android:layout_alignParentRight="true"
Michael Kolb05530502013-05-06 12:41:34 -070039 android:layout_marginRight="6dip"
40 android:layout_marginTop="-5dip"
41 layout="@layout/menu_indicators_keyguard" />
Michael Kolb3148b182013-01-29 14:03:06 -080042
43 <ImageView
Michael Kolb05530502013-05-06 12:41:34 -070044 android:id="@+id/camera_switcher"
Michael Kolb3148b182013-01-29 14:03:06 -080045 style="@style/SwitcherButton"
Michael Kolb05530502013-05-06 12:41:34 -070046 android:layout_below="@id/shutter_button"
Michael Kolb3148b182013-01-29 14:03:06 -080047 android:layout_alignParentRight="true"
48 android:layout_marginRight="2dip"
Michael Kolb05530502013-05-06 12:41:34 -070049 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" />
Michael Kolb3148b182013-01-29 14:03:06 -080062
63</RelativeLayout>