blob: 28b59c44da6c475c1d88d6571cf3e144c1979a73 [file] [log] [blame]
Michael Kolb8af7bb62013-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 Kolbd6536c02013-05-06 12:41:34 -070016<RelativeLayout
17 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@+id/camera_controls"
Michael Kolb8af7bb62013-01-29 14:03:06 -080019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Michael Kolbd6536c02013-05-06 12:41:34 -070021 android:background="@color/default_background" >
Michael Kolb8af7bb62013-01-29 14:03:06 -080022
23 <ImageView
Michael Kolbd6536c02013-05-06 12:41:34 -070024 android:id="@+id/shutter"
Michael Kolb8af7bb62013-01-29 14:03:06 -080025 android:layout_width="wrap_content"
26 android:layout_height="wrap_content"
27 android:layout_alignParentBottom="true"
28 android:layout_centerHorizontal="true"
29 android:layout_marginBottom="@dimen/shutter_offset"
30 android:src="@drawable/btn_new_shutter" />
31
Michael Kolbd6536c02013-05-06 12:41:34 -070032 <include layout="@layout/menu_indicators_keyguard"
33 android:layout_width="64dip"
34 android:layout_height="64dip"
35 android:layout_toRightOf="@id/shutter"
Michael Kolb8af7bb62013-01-29 14:03:06 -080036 android:layout_alignParentBottom="true"
Michael Kolbd6536c02013-05-06 12:41:34 -070037 android:layout_marginBottom="6dip"
38 android:layout_marginRight="-5dip" />
Michael Kolb8af7bb62013-01-29 14:03:06 -080039
40 <ImageView
Michael Kolbd6536c02013-05-06 12:41:34 -070041 android:id="@+id/camera_switcher"
Michael Kolb8af7bb62013-01-29 14:03:06 -080042 style="@style/SwitcherButton"
Michael Kolbd6536c02013-05-06 12:41:34 -070043 android:layout_toLeftOf="@id/shutter"
Michael Kolb8af7bb62013-01-29 14:03:06 -080044 android:layout_alignParentBottom="true"
Michael Kolb8af7bb62013-01-29 14:03:06 -080045 android:layout_marginBottom="2dip"
Michael Kolbd6536c02013-05-06 12:41:34 -070046 android:scaleType="center"
47 android:contentDescription="@string/accessibility_mode_picker"
48 android:src="@drawable/ic_switch_camera" />
49
50 <ImageView
51 android:id="@+id/camera_switcher_ind"
52 style="@style/SwitcherButton"
53 android:layout_toLeftOf="@id/shutter"
54 android:layout_alignParentBottom="true"
55 android:layout_marginBottom="2dip"
56 android:scaleType="center"
57 android:contentDescription="@string/accessibility_mode_picker"
58 android:src="@drawable/ic_switcher_menu_indicator" />
Michael Kolb8af7bb62013-01-29 14:03:06 -080059
60</RelativeLayout>