blob: 5ab35d63e224d21b3cef72b05ebdd80076bbda14 (
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:background="@color/bg_info_box" />
<TextView
android:padding="?dialogPreferredPadding"
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?attr/textAppearanceHeadline1"
tools:text="@tools:sample/full_names" />
</LinearLayout>
|