summaryrefslogtreecommitdiffstats
path: root/res/layout/camera.xml
blob: 25236473f232281e382b9c8d0153bec2bc51c2fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<!-- TODO: Now camera root gets cleared during mode switch. We need to move mode
           switcher into camera root when refactor is finished. -->
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/camera_app_root"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <TextureView
        android:id="@+id/preview_content"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <com.android.camera.ui.FocusOverlay
        android:id="@+id/focus_overlay"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <com.android.camera.ui.CaptureAnimationOverlay
        android:id="@+id/capture_overlay"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:visibility="invisible" />

    <com.android.camera.ui.PreviewOverlay
        android:id="@+id/preview_overlay"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <com.android.camera.ui.GridLines
        android:id="@+id/grid_lines"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center_horizontal"
        android:visibility="invisible" />

    <ImageView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/intent_review_imageview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scaleType="fitCenter"
        android:background="@android:color/black"
        android:visibility="gone" />

    <FrameLayout
        android:id="@+id/module_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <include layout="@layout/mode_options_bottombar" />

    <FrameLayout
        android:id="@+id/tutorials_placeholder_wrapper"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/fullscreen_dialog_background_color"
        android:visibility="gone"
        android:clickable="true" >
    </FrameLayout>

    <include layout="@layout/mode_list_layout" />

    <LinearLayout
        android:id="@+id/accessibility_affordances"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_gravity="top|left"
        android:visibility="gone">
        <Button
            android:id="@+id/accessibility_mode_toggle_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/btn_mode_list_toggle"
            android:contentDescription="@string/accessibility_mode_list_toggle"/>
        <Button
            android:id="@+id/accessibility_filmstrip_toggle_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/btn_filmstrip_toggle"
            android:contentDescription="@string/accessibility_filmstrip_toggle"/>
    </LinearLayout>

    <View
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="@android:color/black"
        android:id="@+id/leftLetterBoxer1"
        android:visibility="gone"
        />

    <View
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="@android:color/black"
        android:id="@+id/leftLetterBoxer2"
        android:visibility="gone"
        />

</FrameLayout>