• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<!-- TODO: Now camera root gets cleared during mode switch. We need to move mode
17           switcher into camera root when refactor is finished. -->
18<FrameLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/camera_app_root"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent" >
23
24    <TextureView
25        android:id="@+id/preview_content"
26        android:layout_width="match_parent"
27        android:layout_height="match_parent" />
28
29    <com.android.camera.ui.FocusOverlay
30        android:id="@+id/focus_overlay"
31        android:layout_width="match_parent"
32        android:layout_height="match_parent" />
33
34    <com.android.camera.ui.CaptureAnimationOverlay
35        android:id="@+id/capture_overlay"
36        android:layout_width="match_parent"
37        android:layout_height="match_parent"
38        android:visibility="invisible" />
39
40    <com.android.camera.ui.PreviewOverlay
41        android:id="@+id/preview_overlay"
42        android:layout_width="match_parent"
43        android:layout_height="match_parent" />
44
45    <com.android.camera.ui.FaceView
46        android:id="@+id/face_view"
47        android:layout_width="match_parent"
48        android:layout_height="match_parent" />
49
50    <com.android.camera.ui.GridLines
51        android:id="@+id/grid_lines"
52        android:layout_width="match_parent"
53        android:layout_height="match_parent"
54        android:layout_gravity="center_horizontal"
55        android:visibility="invisible" />
56
57    <ImageView
58        xmlns:android="http://schemas.android.com/apk/res/android"
59        android:id="@+id/intent_review_imageview"
60        android:layout_width="match_parent"
61        android:layout_height="match_parent"
62        android:scaleType="fitCenter"
63        android:background="@android:color/black"
64        android:visibility="gone" />
65
66    <FrameLayout
67        android:id="@+id/module_layout"
68        android:layout_width="match_parent"
69        android:layout_height="match_parent" />
70
71    <include layout="@layout/mode_options_bottombar" />
72
73    <FrameLayout
74        android:id="@+id/tutorials_placeholder_wrapper"
75        android:layout_width="match_parent"
76        android:layout_height="match_parent"
77        android:background="@color/fullscreen_dialog_background_color"
78        android:visibility="gone"
79        android:clickable="true" >
80    </FrameLayout>
81
82    <include layout="@layout/mode_list_layout" />
83
84    <LinearLayout
85        android:id="@+id/accessibility_affordances"
86        android:layout_width="wrap_content"
87        android:layout_height="wrap_content"
88        android:orientation="horizontal"
89        android:layout_gravity="top|left"
90        android:visibility="gone">
91        <Button
92            android:id="@+id/accessibility_mode_toggle_button"
93            android:layout_width="wrap_content"
94            android:layout_height="wrap_content"
95            android:text="@string/btn_mode_list_toggle"
96            android:contentDescription="@string/accessibility_mode_list_toggle"/>
97        <Button
98            android:id="@+id/accessibility_filmstrip_toggle_button"
99            android:layout_width="wrap_content"
100            android:layout_height="wrap_content"
101            android:text="@string/btn_filmstrip_toggle"
102            android:contentDescription="@string/accessibility_filmstrip_toggle"/>
103    </LinearLayout>
104
105    <View
106        android:layout_width="fill_parent"
107        android:layout_height="fill_parent"
108        android:background="@android:color/black"
109        android:id="@+id/leftLetterBoxer1"
110        android:visibility="gone"
111        />
112
113    <View
114        android:layout_width="fill_parent"
115        android:layout_height="fill_parent"
116        android:background="@android:color/black"
117        android:id="@+id/leftLetterBoxer2"
118        android:visibility="gone"
119        />
120
121</FrameLayout>
122