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    xmlns:tools="http://schemas.android.com/tools"
20    android:layout_width="wrap_content"
21    android:layout_height="wrap_content"
22    android:animateLayoutChanges="true"
23    android:gravity="center_horizontal"
24    android:orientation="horizontal">
25  <ImageView
26      android:id="@id/contactgrid_workIcon"
27      style="@style/BottomRowIcon"
28      android:src="@drawable/quantum_ic_enterprise_vd_theme_24"/>
29  <ImageView
30      android:id="@+id/contactgrid_hdIcon"
31      style="@style/BottomRowIcon"
32      android:visibility="gone"/>
33  <ImageView
34      android:id="@id/contactgrid_forwardIcon"
35      style="@style/BottomRowIcon"
36      android:src="@drawable/quantum_ic_forward_vd_theme_24"/>
37  <TextView
38      android:id="@+id/contactgrid_forwardNumber"
39      android:layout_width="wrap_content"
40      android:layout_height="wrap_content"
41      android:visibility="gone"
42      android:singleLine="true"
43      android:textAppearance="@style/Dialer.Incall.TextAppearance"
44      tools:gravity="start"
45      tools:text="+1 (650) 253-0000"/>
46  <ImageView
47      android:id="@+id/contactgrid_spamIcon"
48      style="@style/BottomRowIcon"
49      android:src="@drawable/quantum_ic_report_vd_theme_24"/>
50  <ViewAnimator
51      android:id="@+id/contactgrid_bottom_text_switcher"
52      android:layout_width="wrap_content"
53      android:layout_height="wrap_content"
54      android:layout_marginBottom="2dp"
55      android:measureAllChildren="false">
56    <com.android.dialer.widget.BidiTextView
57        android:id="@+id/contactgrid_bottom_text"
58        android:layout_width="wrap_content"
59        android:layout_height="wrap_content"
60        android:layout_gravity="center_horizontal"
61        android:singleLine="true"
62        android:textAppearance="@style/Dialer.Incall.TextAppearance"
63        tools:gravity="start"
64        tools:text="Mobile +1 (650) 253-0000"/>
65    <Chronometer
66        android:id="@+id/contactgrid_bottom_timer"
67        android:layout_width="wrap_content"
68        android:layout_height="wrap_content"
69        android:layout_gravity="center_horizontal"
70        android:singleLine="true"
71        android:textAppearance="@style/Dialer.Incall.TextAppearance"
72        tools:gravity="center"/>
73  </ViewAnimator>
74</LinearLayout>
75