mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-28 12:57:57 +01:00
Added add to library dialog when downloading from catalogue (#618)
* Now show snackbar when adding from catalogue * Code cleanup + added manga favorite event to update favorite drawable when added via snack * Update SettingsAdvancedFragment.kt Forgot to check optimize import. I think(hope) I got them all ;). * Now uses PublishRelay. Manga favorite is now handled in info presenter * Update MangaInfoFragment.kt
This commit is contained in:
committed by
inorichi
parent
07cae4d684
commit
72f8c4d5e2
@@ -2,21 +2,23 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/activity_vertical_margin">
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/description"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/dialog_remove_recently_description"
|
||||
android:textAppearance="@style/TextAppearance.Regular.Body1"/>
|
||||
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/removeAll"
|
||||
android:id="@+id/checkbox_option"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="18dp"
|
||||
android:text="@string/dialog_remove_recently_reset"/>
|
||||
android:layout_marginStart="-5dp"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:layout_marginLeft="-5dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:layout_marginTop="@dimen/material_component_dialogs_padding_between_text_and_touch_target"/>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user