57 lines
2.4 KiB
XML
57 lines
2.4 KiB
XML
<?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
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="8dp"
|
|
android:background="@drawable/sign_in_preference_background"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:elevation="4dp"
|
|
android:padding="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="44dp"
|
|
android:layout_height="60dp"
|
|
android:src="@drawable/ic_sessions_intro"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@android:id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="23dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:ellipsize="none"
|
|
android:scrollHorizontally="false"
|
|
android:singleLine="true"
|
|
android:text="Title"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
app:layout_constraintBottom_toTopOf="@android:id/summary"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/imageView"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@android:id/summary"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="23dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:ellipsize="none"
|
|
android:scrollHorizontally="false"
|
|
android:text="Summary"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textSize="16sp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/imageView" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |