Extension "Update all" button (#6171)

Disabled for legacy installer
This commit is contained in:
Ivan Iskandar
2021-10-30 23:34:26 +07:00
committed by GitHub
parent 459759bfe5
commit 90b312a56e
5 changed files with 40 additions and 6 deletions

View File

@@ -1,16 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingHorizontal="16dp"
android:paddingVertical="8dp"
android:textAppearance="@style/TextAppearance.Tachiyomi.SectionHeader"
tools:text="Title" />
</FrameLayout>
<Button
android:id="@+id/action_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:visibility="gone"
tools:text="Button"
tools:visibility="visible" />
</LinearLayout>

View File

@@ -246,6 +246,7 @@
<string name="all_lang">All</string>
<string name="ext_updates_pending">Updates pending</string>
<string name="ext_update">Update</string>
<string name="ext_update_all">Update all</string>
<string name="ext_obsolete">Obsolete</string>
<string name="ext_install">Install</string>
<string name="ext_pending">Pending</string>