mirror of https://github.com/M66B/FairEmail.git
39 lines
1.6 KiB
XML
39 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout 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">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/clItem"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/activatableItemBackground"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:padding="6dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/ivImage"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@null"
|
|
android:scaleType="centerInside"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@mipmap/ic_launcher" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
android:id="@+id/tvCaption"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:text="@string/app_name"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/ivImage" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</FrameLayout>
|