1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 The Android Open Source Project
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8  http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15-->
16<LinearLayout
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:orientation="vertical">
21
22    <FrameLayout
23        android:id="@+id/user_profile_container"
24        android:layout_width="match_parent"
25        android:gravity="center"
26        android:layout_height="0dp"
27        android:layout_weight="1">
28
29        <LinearLayout
30            android:layout_width="match_parent"
31            android:layout_height="match_parent"
32            android:gravity="center"
33            android:orientation="vertical">
34            <ImageView
35                android:id="@+id/avatar"
36                android:layout_width="@dimen/large_avatar_icon_size"
37                android:layout_height="@dimen/large_avatar_icon_size"
38                android:layout_gravity="center"
39                android:scaleType="fitCenter" />
40            <TextView
41                android:id="@+id/title"
42                android:textAppearance="?android:attr/textAppearanceLarge"
43                android:layout_width="match_parent"
44                android:layout_height="wrap_content"
45                android:paddingTop="@dimen/user_profile_title_padding_top"
46                android:focusable="true"
47                android:maxLines="1"
48                android:gravity="center"/>
49            <TextView
50                android:id="@+id/body"
51                android:textAppearance="?android:attr/textAppearanceSmall"
52                android:layout_width="match_parent"
53                android:layout_height="wrap_content"
54                android:paddingTop="@dimen/user_profile_body_padding_top"
55                android:gravity="center"
56                android:maxLines="1"/>
57        </LinearLayout>
58
59    </FrameLayout>
60
61</LinearLayout>