|
@@ -7,7 +7,7 @@
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/extension_warning_banner"
|
|
|
+ android:id="@+id/warning_banner"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:background="?attr/colorError"
|
|
@@ -25,52 +25,52 @@
|
|
|
android:padding="16dp">
|
|
|
|
|
|
<ImageView
|
|
|
- android:id="@+id/extension_icon"
|
|
|
+ android:id="@+id/icon"
|
|
|
android:layout_width="56dp"
|
|
|
android:layout_height="56dp"
|
|
|
android:src="@mipmap/ic_launcher"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/extension_pkg"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/pkgname"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/extension_title"
|
|
|
+ android:id="@+id/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_constraintStart_toEndOf="@id/icon"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
tools:text="Tachiyomi: Extension" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/extension_version"
|
|
|
+ android:id="@+id/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"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/title"
|
|
|
tools:text="Version: 1.0.0" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/extension_lang"
|
|
|
+ android:id="@+id/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"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/version"
|
|
|
tools:text="Language: English" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/extension_nsfw"
|
|
|
+ android:id="@+id/nsfw"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center"
|
|
@@ -80,32 +80,31 @@
|
|
|
android:text="@string/ext_nsfw_warning"
|
|
|
android:textColor="?attr/colorError"
|
|
|
android:visibility="gone"
|
|
|
- app:layout_constraintStart_toStartOf="@id/extension_title"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/extension_lang"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/lang"
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/extension_pkg"
|
|
|
+ android:id="@+id/pkgname"
|
|
|
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_nsfw"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/title"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/nsfw"
|
|
|
tools:text="eu.kanade.tachiyomi.extension.en.myext" />
|
|
|
|
|
|
<Button
|
|
|
- android:id="@+id/extension_uninstall_button"
|
|
|
+ android:id="@+id/btn_uninstall"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="8dp"
|
|
|
- android:paddingStart="32dp"
|
|
|
- android:paddingEnd="32dp"
|
|
|
android:text="@string/ext_uninstall"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/extension_pkg" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/pkgname" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|