OSDN Git Service

Import translations. DO NOT MERGE
[android-x86/packages-apps-Gallery2.git] / res / layout-land / camera_controls.xml
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 -->
16 <com.android.camera.ui.CameraControls
17     xmlns:android="http://schemas.android.com/apk/res/android"
18     android:id="@+id/camera_controls"
19     android:layout_width="match_parent"
20     android:layout_height="match_parent" >
21
22         <View
23             android:id="@+id/blocker"
24             android:clickable="true"
25             android:layout_height="match_parent"
26             android:layout_width="@dimen/switcher_size"
27             android:layout_gravity="right" />
28
29         <include layout="@layout/menu_indicators"
30             android:layout_width="64dip"
31             android:layout_height="64dip"
32             android:layout_marginTop="-5dip"
33             android:layout_marginRight="6dip"
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" />
42
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" />
49
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" />
61
62         <ImageView
63             android:id="@+id/preview_thumb"
64             android:visibility="invisible"
65             android:layout_width="@dimen/capture_size"
66             android:layout_height="@dimen/capture_size"
67             android:scaleType="centerInside"
68             android:layout_gravity="top|right" />
69
70 </com.android.camera.ui.CameraControls>