Michael Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 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 | --> |
Michael Kolb | d6536c0 | 2013-05-06 12:41:34 -0700 | [diff] [blame] | 16 | <RelativeLayout |
| 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:id="@+id/camera_controls" |
Michael Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
Michael Kolb | d6536c0 | 2013-05-06 12:41:34 -0700 | [diff] [blame] | 21 | android:background="@color/default_background" > |
Michael Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 22 | |
| 23 | <ImageView |
Michael Kolb | d6536c0 | 2013-05-06 12:41:34 -0700 | [diff] [blame] | 24 | android:id="@+id/shutter" |
Michael Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 25 | 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 Kolb | d6536c0 | 2013-05-06 12:41:34 -0700 | [diff] [blame] | 32 | <include layout="@layout/menu_indicators_keyguard" |
| 33 | android:layout_width="64dip" |
| 34 | android:layout_height="64dip" |
| 35 | android:layout_toRightOf="@id/shutter" |
Michael Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 36 | android:layout_alignParentBottom="true" |
Michael Kolb | d6536c0 | 2013-05-06 12:41:34 -0700 | [diff] [blame] | 37 | android:layout_marginBottom="6dip" |
| 38 | android:layout_marginRight="-5dip" /> |
Michael Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 39 | |
| 40 | <ImageView |
Michael Kolb | d6536c0 | 2013-05-06 12:41:34 -0700 | [diff] [blame] | 41 | android:id="@+id/camera_switcher" |
Michael Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 42 | style="@style/SwitcherButton" |
Michael Kolb | d6536c0 | 2013-05-06 12:41:34 -0700 | [diff] [blame] | 43 | android:layout_toLeftOf="@id/shutter" |
Michael Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 44 | android:layout_alignParentBottom="true" |
Michael Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 45 | android:layout_marginBottom="2dip" |
Michael Kolb | d6536c0 | 2013-05-06 12:41:34 -0700 | [diff] [blame] | 46 | 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 Kolb | 8af7bb6 | 2013-01-29 14:03:06 -0800 | [diff] [blame] | 59 | |
| 60 | </RelativeLayout> |