summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/video/impl/res/layout/video_contact_grid.xml
blob: ad984f36e61b8bc17bf1517a4999771182f29e98 (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  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="wrap_content"
  android:gravity="center_horizontal"
  android:paddingTop="16dp"
  android:orientation="vertical">

  <include
    layout="@layout/incall_contactgrid_top_row"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>

  <!-- We have to keep deprecated singleLine to allow long text being truncated with ellipses.
       b/31396406 -->
  <com.android.incallui.autoresizetext.AutoResizeTextView
    android:id="@id/contactgrid_contact_name"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:singleLine="true"
    android:textAppearance="@style/Dialer.Incall.TextAppearance.Large"
    app:autoResizeText_minTextSize="28sp"
    tools:text="Jake Peralta"
    tools:ignore="Deprecated"/>

  <include
    layout="@layout/incall_contactgrid_bottom_row"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>
</LinearLayout>