1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2017 The Android Open Source Project
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~      http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License
16 -->
17<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:orientation="vertical"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content"
22    android:layout_marginTop="8dp"
23    android:layout_marginBottom="12dp">
24
25  <FrameLayout
26      android:id="@+id/avatar_container"
27      android:layout_width="wrap_content"
28      android:layout_height="104dp"
29      android:layout_gravity="center_horizontal"
30      android:layout_marginBottom="8dp"
31      android:minWidth="128dp">
32
33    <QuickContactBadge
34        android:id="@+id/avatar"
35        android:layout_width="104dp"
36        android:layout_height="104dp"
37        android:layout_gravity="center_horizontal"
38        android:clickable="false"/>
39
40    <FrameLayout
41        android:id="@+id/video_call_container"
42        android:layout_width="36dp"
43        android:layout_height="36dp"
44        android:layout_gravity="bottom|end"
45        android:layout_marginEnd="12dp">
46
47      <ImageView
48          android:layout_width="match_parent"
49          android:layout_height="match_parent"
50          android:src="@drawable/favorite_icon"/>
51
52      <ImageView
53          android:layout_width="24dp"
54          android:layout_height="24dp"
55          android:layout_gravity="center"
56          android:src="@drawable/quantum_ic_videocam_vd_white_24"/>
57    </FrameLayout>
58  </FrameLayout>
59
60  <TextView
61      android:id="@+id/name"
62      android:layout_width="wrap_content"
63      android:layout_height="wrap_content"
64      android:layout_gravity="center_horizontal"
65      android:layout_marginStart="4dp"
66      android:layout_marginEnd="4dp"
67      android:layout_marginTop="8dp"
68      android:layout_marginBottom="1dp"
69      android:fontFamily="sans-serif-medium"
70      android:textSize="14sp"
71      android:gravity="center_horizontal"
72      style="@style/Dialer.TextAppearance.Primary"/>
73
74  <TextView
75      android:id="@+id/phone_type"
76      android:layout_width="wrap_content"
77      android:layout_height="wrap_content"
78      android:layout_gravity="center_horizontal"
79      android:layout_marginStart="4dp"
80      android:layout_marginEnd="4dp"
81      android:layout_marginBottom="17dp"
82      android:gravity="center_horizontal"
83      style="@style/Dialer.TextAppearance.Secondary"/>
84</LinearLayout>