feat: longclicklistener for AL profile now accessible everywhere (#228)

* feat: added longclicklistener for AL profile in AnimePageAdapter and MangaPageAdapter

* feat: add delete to smaller media bottom sheet
This commit is contained in:
ibo 2024-03-09 22:02:23 +01:00 committed by GitHub
parent 7504bb9081
commit 7f36eba709
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 80 additions and 14 deletions

View file

@ -178,22 +178,43 @@
android:fontFamily="@font/poppins_bold"
android:text="@string/list_private" />
<Button
android:id="@+id/mediaListSave"
style="@style/Widget.Material3.Button.OutlinedButton"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_marginTop="24dp"
android:fontFamily="@font/poppins_bold"
android:insetTop="0dp"
android:insetBottom="0dp"
android:padding="8dp"
android:text="@string/save"
android:textSize="16sp"
app:cornerRadius="16dp"
app:strokeColor="?attr/colorPrimaryContainer" />
android:layout_height="match_parent"
android:layout_marginTop="16dp"
android:orientation="horizontal">
<Button
android:id="@+id/mediaListDelete"
style="@style/Widget.Material3.Button.OutlinedButton"
android:layout_width="128dp"
android:layout_height="56dp"
android:layout_gravity="center"
android:fontFamily="@font/poppins_bold"
android:insetTop="0dp"
android:insetBottom="0dp"
android:padding="8dp"
android:text="@string/delete"
android:textSize="16sp"
app:cornerRadius="16dp"
app:strokeColor="?attr/colorPrimaryContainer" />
<Button
android:id="@+id/mediaListSave"
style="@style/Widget.Material3.Button.OutlinedButton"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_marginStart="16dp"
android:layout_weight="1"
android:fontFamily="@font/poppins_bold"
android:insetTop="0dp"
android:insetBottom="0dp"
android:padding="8dp"
android:text="@string/save"
android:textSize="16sp"
app:cornerRadius="16dp"
app:strokeColor="?attr/colorPrimaryContainer" />
</LinearLayout>
</LinearLayout>
<androidx.cardview.widget.CardView