blob: 67f68d32da8733193db9ddc3d04d2bc372489bc2 [file] [log] [blame]
Xiyuan Xiacc3a74f62015-07-22 14:16:34 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2015 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
Aarthi Balachanderd8bf2492018-03-30 11:15:59 -070018
Bryan Eyler715bdbc2017-10-10 11:56:21 -070019<RelativeLayout
Xiyuan Xiacc3a74f62015-07-22 14:16:34 -070020 xmlns:android="http://schemas.android.com/apk/res/android"
Bryan Eylerab28b992017-10-10 16:06:02 -070021 android:clipChildren="false"
Bryan Eylera20b1572017-11-28 14:54:09 -080022 android:alpha="0"
Aarthi Balachanderd8bf2492018-03-30 11:15:59 -070023 android:layout_height="wrap_content"
24 android:layout_width="match_parent"
25 android:gravity="fill_horizontal"
26 android:layout_marginTop="@dimen/car_padding_5"
27 android:layout_marginStart="@dimen/car_padding_4">
Xiyuan Xiacc3a74f62015-07-22 14:16:34 -070028
29 <ImageView android:id="@+id/user_avatar"
Bryan Eyler715bdbc2017-10-10 11:56:21 -070030 android:layout_centerHorizontal="true"
Rakesh Iyer5b3278f2017-04-19 11:28:26 -070031 android:layout_width="@dimen/car_fullscreen_user_pod_image_avatar_width"
Bryan Eyler715bdbc2017-10-10 11:56:21 -070032 android:layout_height="@dimen/car_fullscreen_user_pod_image_avatar_height"
Aarthi Balachanderd8bf2492018-03-30 11:15:59 -070033 />
Xiyuan Xiacc3a74f62015-07-22 14:16:34 -070034
35 <TextView android:id="@+id/user_name"
Aarthi Balachanderd8bf2492018-03-30 11:15:59 -070036 android:layout_width="match_parent"
Rakesh Iyer5b3278f2017-04-19 11:28:26 -070037 android:layout_height="wrap_content"
Aarthi Balachanderd8bf2492018-03-30 11:15:59 -070038 android:layout_marginTop="@dimen/car_padding_4"
39 android:textSize="@dimen/car_body1_size"
Rakesh Iyer5b3278f2017-04-19 11:28:26 -070040 android:textColor="@color/qs_user_detail_name"
Bryan Eylerf623b562017-08-01 17:40:16 -070041 android:ellipsize="end"
42 android:singleLine="true"
Aarthi Balachanderd8bf2492018-03-30 11:15:59 -070043 android:gravity="center"
44 android:layout_below="@id/user_avatar"/>
Bryan Eyler715bdbc2017-10-10 11:56:21 -070045
Bryan Eyler715bdbc2017-10-10 11:56:21 -070046</RelativeLayout>