blob: c0f3e32180b2ef28dcdff4c4215bf534616bb292 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/avatar"
android:layout_width="match_parent"
android:layout_height="200dp"
android:contentDescription="@string/user_avatar"
android:scaleType="centerCrop"
android:src="@drawable/ic_person_grey600_24dp" />
<TextView
android:padding="?dialogPreferredPadding"
android:id="@+id/displayName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?attr/textAppearanceHeadline1"
tools:text="@tools:sample/full_names" />
</LinearLayout>
|