2018-02-05 16:50:56 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-01-05 11:29:27 -05:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/extension_icon"
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="56dp"
|
2020-01-09 19:10:55 -05:00
|
|
|
android:layout_marginStart="16dp"
|
2020-02-21 18:43:50 -05:00
|
|
|
android:src="@mipmap/ic_launcher"
|
2018-02-05 16:50:56 -05:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/extension_pkg"
|
2020-02-21 18:43:50 -05:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/extension_title" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/extension_title"
|
2020-02-21 18:43:50 -05:00
|
|
|
style="@style/TextAppearance.Regular.SubHeading"
|
2018-02-05 16:50:56 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-09 19:10:55 -05:00
|
|
|
android:layout_marginStart="16dp"
|
2020-02-21 18:43:50 -05:00
|
|
|
android:layout_marginTop="16dp"
|
2020-01-09 19:10:55 -05:00
|
|
|
app:layout_constraintStart_toEndOf="@id/extension_icon"
|
2018-02-05 16:50:56 -05:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-02-21 18:43:50 -05:00
|
|
|
tools:text="Tachiyomi: Extension" />
|
2018-02-05 16:50:56 -05: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:gravity="center"
|
2020-01-09 19:10:55 -05:00
|
|
|
app:layout_constraintStart_toStartOf="@id/extension_title"
|
2020-02-21 18:43:50 -05:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_title"
|
2018-02-05 16:50:56 -05:00
|
|
|
tools:text="Version: 1.0.0" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/extension_lang"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center"
|
2020-01-09 19:10:55 -05:00
|
|
|
app:layout_constraintStart_toStartOf="@id/extension_title"
|
2020-02-21 18:43:50 -05:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_version"
|
2018-02-05 16:50:56 -05:00
|
|
|
tools:text="Language: English" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/extension_pkg"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-09 19:10:55 -05:00
|
|
|
android:layout_marginEnd="16dp"
|
2018-02-05 16:50:56 -05:00
|
|
|
android:ellipsize="middle"
|
2020-02-21 18:43:50 -05:00
|
|
|
android:singleLine="true"
|
2020-01-09 19:10:55 -05:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-02-21 18:43:50 -05:00
|
|
|
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-01-12 18:27:04 -05:00
|
|
|
<TextView
|
2020-05-13 22:47:44 -04:00
|
|
|
android:id="@+id/extension_warning_banner"
|
2020-01-12 18:27:04 -05:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:background="@color/red_error"
|
|
|
|
android:gravity="center"
|
|
|
|
android:padding="16dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_pkg" />
|
|
|
|
|
2018-02-05 16:50:56 -05:00
|
|
|
<Button
|
|
|
|
android:id="@+id/extension_uninstall_button"
|
2020-03-22 18:43:16 -04:00
|
|
|
style="@style/Theme.Widget.Button.FilledAccent"
|
2018-02-05 16:50:56 -05:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="16dp"
|
2020-02-21 18:43:50 -05:00
|
|
|
android:layout_marginEnd="16dp"
|
2018-02-05 16:50:56 -05:00
|
|
|
android:text="@string/ext_uninstall"
|
2020-01-09 19:10:55 -05:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-02-21 18:43:50 -05:00
|
|
|
app:layout_constraintStart_toStartOf="@id/guideline"
|
2020-05-13 22:47:44 -04:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_warning_banner" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-01-05 11:29:27 -05:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2018-02-05 16:50:56 -05:00
|
|
|
android:id="@+id/extension_prefs_recycler"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-01-09 19:10:55 -05:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-02-21 18:43:50 -05:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_uninstall_button" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
|
|
|
<eu.kanade.tachiyomi.widget.EmptyView
|
|
|
|
android:id="@+id/extension_prefs_empty_view"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:gravity="center"
|
2020-02-21 18:43:50 -05:00
|
|
|
android:visibility="gone"
|
2018-02-05 16:50:56 -05:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-01-09 19:10:55 -05:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-02-21 18:43:50 -05:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/extension_uninstall_button" />
|
2018-02-05 16:50:56 -05:00
|
|
|
|
2020-01-05 11:29:27 -05:00
|
|
|
<androidx.constraintlayout.widget.Guideline
|
2018-02-05 16:50:56 -05:00
|
|
|
android:id="@+id/guideline"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintGuide_percent="0.5" />
|
|
|
|
|
2020-01-05 11:29:27 -05:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|