Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2013 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 | --> |
Doris Liu | 62c2ed6 | 2013-04-02 17:48:56 -0700 | [diff] [blame] | 16 | <com.android.camera.ui.CameraControls |
Doris Liu | b9f88b9 | 2013-03-04 22:19:10 -0800 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 18 | android:id="@+id/camera_controls" |
Michael Kolb | a18f665 | 2013-05-01 13:28:24 -0700 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" > |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 21 | |
Doris Liu | 62c2ed6 | 2013-04-02 17:48:56 -0700 | [diff] [blame] | 22 | <View |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 23 | android:id="@+id/blocker" |
Doris Liu | 7f6f773 | 2013-05-14 14:37:46 -0700 | [diff] [blame] | 24 | android:clickable="true" |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 25 | android:layout_height="match_parent" |
| 26 | android:layout_width="@dimen/switcher_size" |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 27 | android:layout_gravity="right" /> |
| 28 | |
| 29 | <include layout="@layout/menu_indicators" |
Michael Kolb | 81dc4d2 | 2013-04-26 11:09:29 -0700 | [diff] [blame] | 30 | android:layout_width="64dip" |
| 31 | android:layout_height="64dip" |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 32 | android:layout_marginTop="-5dip" |
Michael Kolb | 81dc4d2 | 2013-04-26 11:09:29 -0700 | [diff] [blame] | 33 | android:layout_marginRight="6dip" |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 34 | android:layout_gravity="top|right"/> |
| 35 | |
| 36 | <com.android.camera.ui.PieMenuButton |
| 37 | android:id="@+id/menu" |
| 38 | style="@style/SwitcherButton" |
| 39 | android:contentDescription="@string/accessibility_menu_button" |
| 40 | android:layout_gravity="right|top" |
| 41 | android:layout_marginRight="2dip" /> |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 42 | |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 43 | <com.android.camera.ui.CameraSwitcher |
| 44 | android:id="@+id/camera_switcher" |
| 45 | style="@style/SwitcherButton" |
| 46 | android:layout_gravity="right|bottom" |
| 47 | android:layout_marginRight="2dip" |
| 48 | android:contentDescription="@string/accessibility_mode_picker" /> |
Doris Liu | 08a98b9 | 2013-02-26 10:54:25 -0800 | [diff] [blame] | 49 | |
Doris Liu | b9f88b9 | 2013-03-04 22:19:10 -0800 | [diff] [blame] | 50 | <com.android.camera.ShutterButton |
| 51 | android:id="@+id/shutter_button" |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_gravity="right|center_vertical" |
| 55 | android:layout_marginRight="@dimen/shutter_offset" |
| 56 | android:clickable="true" |
| 57 | android:contentDescription="@string/accessibility_shutter_button" |
| 58 | android:focusable="true" |
| 59 | android:scaleType="center" |
| 60 | android:src="@drawable/btn_new_shutter" /> |
Michael Kolb | 8c0570c | 2013-04-30 15:34:19 -0700 | [diff] [blame] | 61 | |
Sascha Haeberling | 37f3611 | 2013-08-06 14:31:52 -0700 | [diff] [blame] | 62 | <ImageView |
Michael Kolb | 8c0570c | 2013-04-30 15:34:19 -0700 | [diff] [blame] | 63 | android:id="@+id/preview_thumb" |
| 64 | android:visibility="invisible" |
| 65 | android:layout_width="@dimen/capture_size" |
| 66 | android:layout_height="@dimen/capture_size" |
Sascha Haeberling | 37f3611 | 2013-08-06 14:31:52 -0700 | [diff] [blame] | 67 | android:scaleType="centerInside" |
Michael Kolb | 8c0570c | 2013-04-30 15:34:19 -0700 | [diff] [blame] | 68 | android:layout_gravity="top|right" /> |
| 69 | |
Doris Liu | 62c2ed6 | 2013-04-02 17:48:56 -0700 | [diff] [blame] | 70 | </com.android.camera.ui.CameraControls> |