(cherry picked from commit 333c035fede73d0baca6550d8ce020ffb28f877c) # Conflicts: # app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPageSheet.kt # app/src/main/res/layout/reader_page_sheet.xml
135 lines
5.1 KiB
XML
135 lines
5.1 KiB
XML
<?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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/set_as_cover"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:drawablePadding="32dp"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:paddingHorizontal="16dp"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:text="@string/set_as_cover"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:drawableStartCompat="@drawable/ic_photo_24dp"
|
|
app:drawableTint="?attr/colorOnBackground" />
|
|
|
|
<TextView
|
|
android:id="@+id/set_as_cover_extra"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:drawablePadding="32dp"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:paddingHorizontal="16dp"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:text="@string/action_set_second_page_cover"
|
|
android:textColor="?attr/colorOnBackground"
|
|
android:visibility="gone"
|
|
app:drawableStartCompat="@drawable/ic_photo_24dp"
|
|
app:drawableTint="?attr/colorOnBackground" />
|
|
|
|
<TextView
|
|
android:id="@+id/share"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:drawablePadding="32dp"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:paddingHorizontal="16dp"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:text="@string/action_share"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:drawableStartCompat="@drawable/ic_share_24dp"
|
|
app:drawableTint="?attr/colorOnBackground" />
|
|
|
|
<TextView
|
|
android:id="@+id/share_extra"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:drawablePadding="32dp"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:paddingHorizontal="16dp"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:text="@string/action_share_second_page"
|
|
android:textColor="?attr/colorOnBackground"
|
|
android:visibility="gone"
|
|
app:drawableStartCompat="@drawable/ic_share_24dp"
|
|
app:drawableTint="?attr/colorOnBackground" />
|
|
|
|
<TextView
|
|
android:id="@+id/share_combined"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:drawablePadding="32dp"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:paddingHorizontal="16dp"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:text="@string/action_share_combined_page"
|
|
android:textColor="?attr/colorOnBackground"
|
|
android:visibility="gone"
|
|
app:drawableStartCompat="@drawable/ic_share_24dp"
|
|
app:drawableTint="?attr/colorOnBackground" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/save"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:drawablePadding="32dp"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:paddingHorizontal="16dp"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:text="@string/action_save"
|
|
android:textColor="?attr/colorOnBackground"
|
|
app:drawableStartCompat="@drawable/ic_save_24dp"
|
|
app:drawableTint="?attr/colorOnBackground" />
|
|
|
|
<TextView
|
|
android:id="@+id/save_extra"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:drawablePadding="32dp"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:paddingHorizontal="16dp"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:text="@string/action_save_second_page"
|
|
android:textColor="?attr/colorOnBackground"
|
|
android:visibility="gone"
|
|
app:drawableStartCompat="@drawable/ic_save_24dp"
|
|
app:drawableTint="?attr/colorOnBackground" />
|
|
|
|
<TextView
|
|
android:id="@+id/save_combined"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:drawablePadding="32dp"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:paddingHorizontal="16dp"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:text="@string/action_save_combined_page"
|
|
android:textColor="?attr/colorOnBackground"
|
|
android:visibility="gone"
|
|
app:drawableStartCompat="@drawable/ic_save_24dp"
|
|
app:drawableTint="?attr/colorOnBackground" />
|
|
|
|
</LinearLayout>
|