2018-02-05 22:50:56 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-09-27 01:03:46 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
2020-09-27 01:03:46 +02:00
|
|
|
android:layout_height="64dp"
|
2021-11-07 15:49:40 +01:00
|
|
|
android:background="@drawable/list_item_selector_background"
|
|
|
|
android:paddingEnd="16dp">
|
2018-02-05 22:50:56 +01:00
|
|
|
|
2020-09-27 01:03:46 +02:00
|
|
|
<ImageView
|
2021-11-07 15:49:40 +01:00
|
|
|
android:id="@+id/icon"
|
2020-09-27 01:03:46 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2020-09-27 01:23:13 +02:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="8dp"
|
2020-09-27 01:03:46 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-09-27 01:23:13 +02:00
|
|
|
app:layout_constraintDimensionRatio="1:1"
|
2020-09-27 01:03:46 +02:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-09-27 01:23:13 +02:00
|
|
|
tools:ignore="ContentDescription"
|
2020-09-27 01:03:46 +02:00
|
|
|
tools:src="@mipmap/ic_launcher_round" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
2020-09-27 01:03:46 +02:00
|
|
|
<TextView
|
2021-11-07 15:49:40 +01:00
|
|
|
android:id="@+id/name"
|
2020-09-27 01:03:46 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
2021-10-03 18:32:04 +02:00
|
|
|
android:textAppearance="?attr/textAppearanceBody2"
|
2020-09-27 01:03:46 +02:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/lang"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/ext_button"
|
2021-11-07 15:49:40 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@id/icon"
|
2020-09-27 01:03:46 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
|
|
tools:text="Batoto" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
2020-09-27 01:03:46 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/lang"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="1"
|
2021-10-03 18:32:04 +02:00
|
|
|
android:textAppearance="?attr/textAppearanceCaption"
|
2020-09-27 01:03:46 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2021-11-07 15:49:40 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@id/icon"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/name"
|
2020-09-27 01:03:46 +02:00
|
|
|
tools:text="English"
|
|
|
|
tools:visibility="visible" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
2020-09-27 01:03:46 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/version"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:maxLines="1"
|
2021-10-03 18:32:04 +02:00
|
|
|
android:textAppearance="?attr/textAppearanceCaption"
|
2020-09-27 01:03:46 +02:00
|
|
|
app:layout_constraintStart_toEndOf="@id/lang"
|
2021-11-07 15:49:40 +01:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/name"
|
2020-09-27 01:03:46 +02:00
|
|
|
tools:text="Version" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
2020-09-27 01:03:46 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/warning"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:maxLines="1"
|
2021-10-03 18:32:04 +02:00
|
|
|
android:textAppearance="?attr/textAppearanceCaption"
|
2020-09-27 01:03:46 +02:00
|
|
|
android:textColor="?attr/colorError"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/version"
|
2021-11-07 15:49:40 +01:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/name"
|
2020-09-27 01:03:46 +02:00
|
|
|
tools:text="Warning" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
2020-09-27 01:03:46 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/ext_button"
|
2021-06-19 21:45:16 +02:00
|
|
|
style="?attr/borderlessButtonStyle"
|
2020-09-27 01:03:46 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2021-09-25 20:31:52 +02:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/cancel_button"
|
2020-09-27 01:03:46 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="Details" />
|
2018-02-05 22:50:56 +01:00
|
|
|
|
2021-09-25 20:31:52 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/cancel_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@android:string/cancel"
|
|
|
|
android:padding="12dp"
|
|
|
|
android:src="@drawable/ic_close_24dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:tint="?android:attr/textColorPrimary"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2020-09-27 01:03:46 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|