<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2015 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<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:gravity="center_vertical"
android:minHeight="64dp"
android:paddingStart="@dimen/account_chooser_dialog_item_margin"
android:paddingEnd="@dimen/account_chooser_dialog_item_margin"
android:orientation="horizontal"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true">
<ImageView
android:id="@+id/profile_image"
android:layout_width="40dp"
android:layout_height="40dp"
tools:ignore="ContentDescription"/>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:layout_marginStart="16dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/main_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.TextLarge.Primary" />
<TextView
android:id="@+id/secondary_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.TextMedium.Secondary" />
</LinearLayout>
<ImageButton
android:id="@+id/psl_info_btn"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:background="?attr/selectableItemBackground"
android:contentDescription="@string/learn_more"
android:padding="4dp"
android:src="@drawable/btn_info"
android:visibility="gone"/>
</LinearLayout>