Revision control
Copy as Markdown
<?xml version="1.0" encoding="utf-8"?>
<!--
~ This Source Code Form is subject to the terms of the Mozilla Public
~ License, v. 2.0. If a copy of the MPL was not distributed with this
-->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="64dp"
android:theme="@style/ListCellItem"
<TextView
android:id="@+id/itemTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginEnd="16dp"
android:fontFamily="sans-serif"
android:textStyle="normal"
android:textColor="@color/text_ink"
android:letterSpacing="0.01"
android:lineSpacingExtra="8sp"
android:ellipsize="end"
android:maxLines="1"
android:layout_marginStart="16dp"
android:layout_marginTop="10dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="mozilla.com"
tools:ignore="SelectableText" />
<TextView
android:id="@+id/itemSubtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="14sp"
android:fontFamily="sans-serif"
android:textStyle="normal"
android:textColor="@color/black_60_percent"
android:letterSpacing="0.02"
android:lineSpacingExtra="6sp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="10dp"
android:ellipsize="end"
android:maxLines="1"
android:scrollHorizontally="true"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/itemTitle"
app:layout_constraintBottom_toBottomOf="parent"
tools:text="asadotzler@example.com"
tools:ignore="SelectableText" />
</androidx.constraintlayout.widget.ConstraintLayout>