blob: 1a2bc2429a4ee055ac0d217c4aaa86d6d1a029f1 (
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
|
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2017 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
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black"
android:keepScreenOn="true">
<SurfaceView
android:id="@+id/videocall_video_remote"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:importantForAccessibility="no"/>
<TextView
android:gravity="center"
android:id="@+id/videocall_remote_video_off"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:accessibilityTraversalBefore="@+id/videocall_speaker_button"
android:drawablePadding="8dp"
android:drawableTop="@drawable/quantum_ic_videocam_off_white_36"
android:drawableTint="@color/videocall_camera_off_tint"
android:padding="64dp"
android:text="@string/videocall_remote_video_off"
android:textAppearance="@style/Dialer.Incall.TextAppearance"
android:visibility="gone"
tools:visibility="visible"/>
<View
android:id="@+id/videocall_fullscreen_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/videocall_overlay_background_color"/>
<FrameLayout
style="@style/VideoPreviewHolder"
android:id="@+id/videocall_preview_root">
<SurfaceView
android:id="@+id/videocall_video_preview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:importantForAccessibility="no"/>
<ImageView
android:id="@+id/videocall_video_preview_off_overlay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:scaleType="center"
android:src="@drawable/quantum_ic_videocam_off_white_24"
android:tint="@color/videocall_camera_off_tint"
android:tintMode="src_in"
android:visibility="gone"
android:importantForAccessibility="no"
tools:visibility="visible"/>
</FrameLayout>
<ImageView
android:id="@+id/videocall_video_preview_mute_overlay"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_alignBottom="@id/videocall_preview_root"
android:layout_alignEnd="@id/videocall_preview_root"
android:layout_marginBottom="-8dp"
android:layout_marginEnd="-8dp"
android:background="@drawable/videocall_background_circle_white"
android:contentDescription="@string/incall_content_description_muted"
android:scaleType="center"
android:src="@drawable/quantum_ic_mic_off_black_24"
android:visibility="gone"
tools:visibility="visible"/>
<View
android:id="@+id/videocall_green_screen_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/videocall_overlay_background_color"/>
<include
layout="@layout/videocall_controls_surfaceview"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<FrameLayout
android:id="@+id/videocall_on_hold_banner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"/>
</RelativeLayout>
|