blob: 7eb924500efb6acfba52c1ba875e79540f37d680 (
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
<?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
-->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/incall_ui_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipChildren="false"
android:clipToPadding="false"
android:fitsSystemWindows="true">
<LinearLayout
android:id="@id/incall_contact_grid"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:gravity="center_horizontal"
android:orientation="vertical">
<ImageView
android:id="@id/contactgrid_avatar"
android:layout_width="@dimen/incall_avatar_size"
android:layout_height="@dimen/incall_avatar_size"
android:layout_marginBottom="8dp"
android:elevation="2dp"/>
<include
layout="@layout/incall_contactgrid_top_row"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/incall_window_margin_horizontal"
android:layout_marginEnd="@dimen/incall_window_margin_horizontal"/>
<!-- We have to keep deprecated singleLine to allow long text being truncated with ellipses.
a bug -->
<com.android.incallui.autoresizetext.AutoResizeTextView
android:id="@id/contactgrid_contact_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginStart="@dimen/incall_window_margin_horizontal"
android:layout_marginEnd="@dimen/incall_window_margin_horizontal"
android:singleLine="true"
android:textAppearance="@style/Dialer.Incall.TextAppearance.Large"
app:autoResizeText_minTextSize="28sp"
tools:ignore="Deprecated"
tools:text="Jake Peralta"/>
<include
layout="@layout/incall_contactgrid_bottom_row"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/incall_window_margin_horizontal"
android:layout_marginEnd="@dimen/incall_window_margin_horizontal"/>
<FrameLayout
android:id="@+id/incall_location_holder"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<include
layout="@layout/device_number_row"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
<com.android.dialer.widget.LockableViewPager
android:id="@+id/incall_pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/incall_paginator"
android:layout_below="@+id/incall_contact_grid"
android:layout_centerHorizontal="true"/>
<com.android.incallui.incall.impl.InCallPaginator
android:id="@+id/incall_paginator"
android:layout_width="@dimen/paginator_width"
android:layout_height="@dimen/paginator_height"
android:layout_above="@+id/incall_end_call"
android:layout_centerHorizontal="true"
android:visibility="gone"/>
<FrameLayout
android:id="@+id/incall_dialpad_container"
style="@style/DialpadContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:clipChildren="false"
android:clipToPadding="false"
tools:background="@android:color/white"
tools:visibility="gone"/>
<ImageButton
android:id="@+id/incall_end_call"
style="@style/Incall.Button.End"
android:layout_marginTop="16dp"
android:layout_marginBottom="36dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:contentDescription="@string/incall_content_description_end_call"/>
</RelativeLayout>
<FrameLayout
android:id="@id/incall_on_hold_banner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"/>
<FrameLayout
android:id="@+id/navigation_bar_background"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="bottom"
android:background="@android:color/background_dark"
android:visibility="gone"/>
</FrameLayout>
|