1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
17  xmlns:tools="http://schemas.android.com/tools"
18  android:layout_width="match_parent"
19  android:layout_height="match_parent"
20  android:background="@android:color/black">
21
22  <TextureView
23    android:id="@+id/videocall_video_remote"
24    android:layout_width="match_parent"
25    android:layout_height="match_parent"
26    android:layout_alignParentStart="true"
27    android:layout_alignParentTop="true"
28    android:importantForAccessibility="no"/>
29
30  <ImageView
31    android:id="@+id/videocall_remote_off_blurred_image_view"
32    android:layout_width="match_parent"
33    android:layout_height="match_parent"
34    android:layout_alignParentStart="true"
35    android:layout_alignParentTop="true"
36    android:scaleType="fitCenter"/>
37
38  <TextView
39    android:gravity="center"
40    android:id="@+id/videocall_remote_video_off"
41    android:layout_width="wrap_content"
42    android:layout_height="wrap_content"
43    android:layout_centerInParent="true"
44    android:accessibilityTraversalBefore="@+id/videocall_speaker_button"
45    android:drawablePadding="8dp"
46    android:drawableTop="@drawable/quantum_ic_videocam_off_white_36"
47    android:padding="64dp"
48    android:text="@string/videocall_remote_video_off"
49    android:textAppearance="@style/Dialer.Incall.TextAppearance"
50    android:visibility="gone"
51    tools:visibility="visible"/>
52
53  <View
54    android:id="@+id/videocall_fullscreen_background"
55    android:layout_width="match_parent"
56    android:layout_height="match_parent"
57    android:layout_alignParentBottom="true"
58    android:layout_alignParentStart="true"
59    android:background="@color/videocall_overlay_background_color"/>
60
61  <TextureView
62    android:id="@+id/videocall_video_preview"
63    android:layout_width="@dimen/videocall_preview_width"
64    android:layout_height="@dimen/videocall_preview_height"
65    android:layout_marginEnd="@dimen/videocall_preview_margin_end"
66    android:layout_alignParentBottom="true"
67    android:layout_alignParentEnd="true"
68    android:importantForAccessibility="no"/>
69
70  <ImageView
71    android:id="@+id/videocall_preview_off_blurred_image_view"
72    android:layout_width="@dimen/videocall_preview_width"
73    android:layout_height="@dimen/videocall_preview_height"
74    android:layout_marginEnd="@dimen/videocall_preview_margin_end"
75    android:layout_alignParentBottom="true"
76    android:layout_alignParentEnd="true"
77    android:scaleType="center"/>
78
79  <View
80    android:id="@+id/videocall_green_screen_background"
81    android:layout_width="match_parent"
82    android:layout_height="match_parent"
83    android:layout_alignParentBottom="true"
84    android:layout_alignParentStart="true"
85    android:background="@color/videocall_overlay_background_color"/>
86
87  <ImageView
88    android:id="@+id/videocall_video_preview_off_overlay"
89    android:layout_width="wrap_content"
90    android:layout_height="wrap_content"
91    android:layout_alignBottom="@+id/videocall_video_preview"
92    android:layout_alignLeft="@+id/videocall_video_preview"
93    android:layout_alignRight="@+id/videocall_video_preview"
94    android:layout_alignTop="@+id/videocall_video_preview"
95    android:scaleType="center"
96    android:src="@drawable/quantum_ic_videocam_off_vd_theme_24"
97    android:visibility="gone"
98    android:importantForAccessibility="no"
99    tools:visibility="visible"/>
100
101  <ImageView
102    android:id="@+id/videocall_video_preview_mute_overlay"
103    android:layout_width="32dp"
104    android:layout_height="32dp"
105    android:layout_alignBottom="@+id/videocall_video_preview"
106    android:layout_alignRight="@+id/videocall_video_preview"
107    android:background="@drawable/videocall_background_circle_white"
108    android:contentDescription="@string/incall_content_description_muted"
109    android:scaleType="center"
110    android:src="@drawable/quantum_ic_mic_off_vd_theme_24"
111    android:tint="@android:color/black"
112    android:visibility="gone"
113    tools:visibility="visible"/>
114
115  <include
116    layout="@layout/videocall_controls_land"
117    android:layout_width="match_parent"
118    android:layout_height="match_parent"/>
119
120  <FrameLayout
121    android:id="@+id/videocall_on_hold_banner"
122    android:layout_width="match_parent"
123    android:layout_height="wrap_content"
124    android:layout_alignParentTop="true"/>
125
126</RelativeLayout>
127