2018-02-05 16:50:56 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-06-15 22:54:11 -04:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-02-05 16:50:56 -05:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2020-06-15 22:54:11 -04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-05-13 23:12:35 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/extension_warning_banner"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-13 17:27:03 -04:00
|
|
|
android:background="?attr/colorError"
|
2020-05-13 23:12:35 -04:00
|
|
|
android:gravity="center"
|
|
|
|
android:padding="16dp"
|
2020-06-13 17:27:03 -04:00
|
|
|
android:textColor="?attr/colorOnError"
|
2020-05-13 23:12:35 -04:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2020-06-15 22:54:11 -04:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-31 18:28:05 -04:00
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:elevation="2dp"
|
2020-06-15 22:54:11 -04:00
|
|
|
android:padding="16dp">
|
2020-05-31 18:28:05 -04:00
|
|
|
|
2020-06-15 22:54:11 -04:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/extension_icon"
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:src="@mipmap/ic_launcher"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/extension_pkg"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:ignore="ContentDescription" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-06-15 22:54:11 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/extension_title"
|
|
|
|
style="@style/TextAppearance.Regular.SubHeading"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:elevation="3dp"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/extension_icon"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="Tachiyomi: Extension" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-06-15 22:54:11 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/extension_version"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:elevation="3dp"
|
|
|
|
android:gravity="center"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/extension_title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_title"
|
|
|
|
tools:text="Version: 1.0.0" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-06-15 22:54:11 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/extension_lang"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:elevation="3dp"
|
|
|
|
android:gravity="center"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/extension_title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_version"
|
|
|
|
tools:text="Language: English" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-06-15 22:54:11 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/extension_pkg"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:elevation="3dp"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/extension_title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_lang"
|
|
|
|
tools:text="eu.kanade.tachiyomi.extension.en.myext" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-06-15 22:54:11 -04:00
|
|
|
<Button
|
|
|
|
android:id="@+id/extension_uninstall_button"
|
|
|
|
style="@style/Theme.Widget.Button.FilledAccent"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
android:paddingStart="32dp"
|
|
|
|
android:paddingEnd="32dp"
|
|
|
|
android:text="@string/ext_uninstall"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_lang" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-05-31 16:23:51 -04:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/extension_prefs_recycler"
|
2020-06-15 22:54:11 -04:00
|
|
|
android:layout_width="match_parent"
|
2020-05-31 16:23:51 -04:00
|
|
|
android:layout_height="0dp"
|
2020-06-15 22:54:11 -04:00
|
|
|
android:layout_weight="1" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-06-15 22:54:11 -04:00
|
|
|
</LinearLayout>
|