blob: bb4e11f205fbc2c300f55d1a9bf9f974028dc716 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 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"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/display_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.DialpadDisplayName"
android:singleLine="true"
android:layout_centerHorizontal="true"
android:layout_alignParentTop="true"/>
<TextView
android:id="@+id/label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:layout_marginTop="12dp"
android:layout_below="@id/display_name"
android:layout_centerHorizontal="true"/>
<ImageView
android:id="@+id/dialpad_contact_avatar"
android:layout_height="@dimen/dialpad_contact_avatar_size"
android:layout_width="@dimen/dialpad_contact_avatar_size"
android:layout_below="@id/label"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"/>
<TextView
android:id="@+id/dialpad_contact_initials"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_width="10dp"
android:layout_height="10dp"/>
</RelativeLayout>