2020-06-18 04:39:45 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
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"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
2021-08-22 20:00:07 +02:00
|
|
|
android:id="@+id/warning_banner"
|
2020-06-18 04:39:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorError"
|
|
|
|
android:gravity="center"
|
|
|
|
android:padding="16dp"
|
|
|
|
android:textColor="?attr/colorOnError"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
2021-08-22 20:00:07 +02:00
|
|
|
android:id="@+id/icon"
|
2020-06-18 04:39:45 +02:00
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:src="@mipmap/ic_launcher"
|
2021-08-22 20:00:07 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/pkgname"
|
2020-06-18 04:39:45 +02:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
<TextView
|
2021-08-22 20:00:07 +02:00
|
|
|
android:id="@+id/title"
|
2020-06-18 04:39:45 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:elevation="3dp"
|
2021-11-14 16:23:44 +01:00
|
|
|
android:textAppearance="?attr/textAppearanceTitleMedium"
|
2021-08-22 20:00:07 +02:00
|
|
|
app:layout_constraintStart_toEndOf="@id/icon"
|
2020-06-18 04:39:45 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="Tachiyomi: Extension" />
|
|
|
|
|
|
|
|
<TextView
|
2021-08-22 20:00:07 +02:00
|
|
|
android:id="@+id/version"
|
2020-06-18 04:39:45 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:elevation="3dp"
|
|
|
|
android:gravity="center"
|
2021-11-14 16:23:44 +01:00
|
|
|
android:textAppearance="?attr/textAppearanceBodySmall"
|
2021-08-22 20:00:07 +02:00
|
|
|
app:layout_constraintStart_toStartOf="@id/title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/title"
|
2020-06-18 04:39:45 +02:00
|
|
|
tools:text="Version: 1.0.0" />
|
|
|
|
|
|
|
|
<TextView
|
2021-08-22 20:00:07 +02:00
|
|
|
android:id="@+id/lang"
|
2020-06-18 04:39:45 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:elevation="3dp"
|
|
|
|
android:gravity="center"
|
2021-11-14 16:23:44 +01:00
|
|
|
android:textAppearance="?attr/textAppearanceBodySmall"
|
2021-08-22 20:00:07 +02:00
|
|
|
app:layout_constraintStart_toStartOf="@id/title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/version"
|
2020-06-18 04:39:45 +02:00
|
|
|
tools:text="Language: English" />
|
|
|
|
|
2020-08-10 17:26:26 +02:00
|
|
|
<TextView
|
2021-08-22 20:00:07 +02:00
|
|
|
android:id="@+id/nsfw"
|
2020-08-10 17:26:26 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:elevation="3dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/ext_nsfw_warning"
|
2021-11-14 16:23:44 +01:00
|
|
|
android:textAppearance="?attr/textAppearanceBodySmall"
|
2020-08-10 17:26:26 +02:00
|
|
|
android:textColor="?attr/colorError"
|
|
|
|
android:visibility="gone"
|
2021-08-22 20:00:07 +02:00
|
|
|
app:layout_constraintStart_toStartOf="@id/title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/lang"
|
2020-08-10 17:26:26 +02:00
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2020-06-18 04:39:45 +02:00
|
|
|
<TextView
|
2021-08-22 20:00:07 +02:00
|
|
|
android:id="@+id/pkgname"
|
2020-06-18 04:39:45 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:elevation="3dp"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
2021-11-14 16:23:44 +01:00
|
|
|
android:textAppearance="?attr/textAppearanceBodySmall"
|
2020-06-18 04:39:45 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2021-08-22 20:00:07 +02:00
|
|
|
app:layout_constraintStart_toStartOf="@id/title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/nsfw"
|
2020-06-18 04:39:45 +02:00
|
|
|
tools:text="eu.kanade.tachiyomi.extension.en.myext" />
|
|
|
|
|
|
|
|
<Button
|
2021-08-22 20:00:07 +02:00
|
|
|
android:id="@+id/btn_uninstall"
|
2021-09-16 23:57:41 +02:00
|
|
|
style="@style/Widget.Tachiyomi.Button.OutlinedButton"
|
2020-06-18 04:39:45 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-10 17:26:26 +02:00
|
|
|
android:layout_marginTop="8dp"
|
2021-09-16 23:57:41 +02:00
|
|
|
android:layout_marginEnd="4dp"
|
2020-06-18 04:39:45 +02:00
|
|
|
android:text="@string/ext_uninstall"
|
2021-08-22 20:00:07 +02:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-09-16 23:57:41 +02:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/btn_app_info"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/pkgname" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btn_app_info"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:text="@string/ext_app_info"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/btn_uninstall"
|
2020-06-18 04:39:45 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2021-08-22 20:00:07 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/pkgname" />
|
2020-06-18 04:39:45 +02:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
2021-11-19 22:42:28 +01:00
|
|
|
<com.google.android.material.divider.MaterialDivider
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2020-06-18 04:39:45 +02:00
|
|
|
</LinearLayout>
|