2018-02-05 22:50:56 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-02-22 00:43:50 +01:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-02-05 22:50:56 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2020-01-05 17:29:27 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-02-05 22:50:56 +01:00
|
|
|
android:id="@+id/card"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="64dp"
|
2020-03-12 00:08:57 +01:00
|
|
|
android:background="@drawable/list_item_selector">
|
2018-02-05 22:50:56 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image"
|
2018-03-02 18:10:10 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:padding="12dp"
|
2018-02-05 22:50:56 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2018-03-02 18:10:10 +01:00
|
|
|
app:layout_constraintDimensionRatio="h,1:1"
|
2018-02-05 22:50:56 +01:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2018-03-02 18:10:10 +01:00
|
|
|
tools:src="@mipmap/ic_launcher_round" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/ext_title"
|
|
|
|
style="@style/TextAppearance.Regular"
|
2018-04-08 18:58:28 +02:00
|
|
|
android:layout_width="0dp"
|
2018-02-05 22:50:56 +01:00
|
|
|
android:layout_height="wrap_content"
|
2018-04-08 18:58:28 +02:00
|
|
|
android:layout_marginEnd="4dp"
|
2018-02-05 22:50:56 +01:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.SubHeading"
|
|
|
|
android:textSize="14sp"
|
2020-02-22 00:43:50 +01:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/lang"
|
2018-04-08 18:58:28 +02:00
|
|
|
app:layout_constraintEnd_toStartOf="@id/ext_button"
|
2020-02-22 00:43:50 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@id/image"
|
2018-02-05 22:50:56 +01:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
2020-02-22 00:43:50 +01:00
|
|
|
tools:text="Batoto" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lang"
|
|
|
|
style="@style/TextAppearance.Regular.Body1.Secondary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textSize="12sp"
|
2020-02-22 00:43:50 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2018-02-05 22:50:56 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@id/image"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ext_title"
|
|
|
|
tools:text="English"
|
2020-02-22 00:43:50 +01:00
|
|
|
tools:visibility="visible" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/version"
|
|
|
|
style="@style/TextAppearance.Regular.Body1.Secondary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:layout_marginStart="4dp"
|
2018-02-05 22:50:56 +01:00
|
|
|
android:maxLines="1"
|
|
|
|
android:textSize="12sp"
|
|
|
|
app:layout_constraintBaseline_toBaselineOf="@id/lang"
|
2020-01-10 01:10:55 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@id/lang"
|
2018-02-05 22:50:56 +01:00
|
|
|
tools:text="Version" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ext_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
android:layout_marginTop="16dp"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:layout_marginEnd="16dp"
|
2018-02-05 22:50:56 +01:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:background="@drawable/button_bg_transparent"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:foreground="?attr/selectableItemBackground"
|
2018-02-05 22:50:56 +01:00
|
|
|
android:textColor="@drawable/button_bg_transparent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-02-22 00:43:50 +01:00
|
|
|
tools:text="Details" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
2020-01-05 17:29:27 +01:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-02-05 22:50:56 +01:00
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|