camera_control.xml revision a96fbc672886ddac5169a7e8ddbfecf535770669
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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
17<!-- minHeight is necessary to avoid distortion or overlapping. -->
18<com.android.camera.ui.ControlPanelLayout xmlns:android="http://schemas.android.com/apk/res/android"
19        android:id="@+id/control_panel"
20        android:layout_width="match_parent"
21        android:layout_height="wrap_content"
22        android:minHeight="105dp"
23        android:background="@drawable/bg_camera_pattern">
24    <include layout="@layout/review_thumbnail" />
25    <include layout="@layout/review_control" />
26    <com.android.camera.ShutterButton android:id="@+id/shutter_button"
27            android:layout_height="wrap_content"
28            android:layout_width="wrap_content"
29            android:layout_centerInParent="true"
30            android:scaleType="center"
31            android:clickable="true"
32            android:focusable="true"
33            android:contentDescription="@string/accessibility_shutter_button"
34            android:background="@drawable/btn_shutter" />
35    <include layout="@layout/mode_picker" />
36</com.android.camera.ui.ControlPanelLayout>
37