Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2018 The Android Open Source Project
      3 Licensed under the Apache License, Version 2.0 (the "License");
      4 you may not use this file except in compliance with the License.
      5 You may obtain a copy of the License at
      6   http://www.apache.org/licenses/LICENSE-2.0
      7 Unless required by applicable law or agreed to in writing, software
      8 distributed under the License is distributed on an "AS IS" BASIS,
      9 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     10 See the License for the specific language governing permissions and
     11 limitations under the License.
     12 -->
     13 <LinearLayout
     14     xmlns:android="http://schemas.android.com/apk/res/android"
     15     android:layout_width="match_parent"
     16     android:layout_height="match_parent"
     17     android:gravity="center"
     18     android:orientation="vertical">
     19     <ImageView
     20         android:id="@+id/avatar"
     21         android:layout_width="@dimen/car_large_avatar_size"
     22         android:layout_height="@dimen/car_large_avatar_size"
     23         android:layout_gravity="center"
     24         android:scaleType="fitCenter" />
     25     <TextView
     26         android:id="@+id/title"
     27         style="@style/TextAppearance.Car.Headline2"
     28         android:layout_width="match_parent"
     29         android:layout_height="wrap_content"
     30         android:paddingTop="@dimen/car_padding_3"
     31         android:focusable="true"
     32         android:maxLines="1"
     33         android:gravity="center"/>
     34     <TextView
     35         android:id="@+id/body"
     36         style="@style/TextAppearance.Car.Body2"
     37         android:layout_width="match_parent"
     38         android:layout_height="wrap_content"
     39         android:paddingTop="@dimen/car_padding_3"
     40         android:gravity="center"
     41         android:maxLines="1"/>
     42 </LinearLayout>