diff --git a/app/build.gradle b/app/build.gradle index 6b272b21ae..cf15138ddb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -113,7 +113,7 @@ dependencies { // Android support library implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.cardview:cardview:1.0.0' - implementation 'com.google.android.material:material:1.0.0' + implementation 'com.google.android.material:material:1.2.0-alpha04' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.preference:preference:1.1.0' implementation 'androidx.annotation:annotation:1.1.0' diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt index 842733af35..2dde9c1836 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt @@ -3,6 +3,7 @@ package eu.kanade.tachiyomi.ui.library import android.content.Context import android.content.res.Configuration import android.graphics.Color +import android.os.Build import android.os.Bundle import android.view.LayoutInflater import android.view.Menu @@ -11,6 +12,7 @@ import android.view.MenuItem import android.view.View import android.view.ViewGroup import android.view.WindowInsets +import android.view.WindowManager import android.view.inputmethod.InputMethodManager import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.view.ActionMode @@ -41,6 +43,7 @@ import eu.kanade.tachiyomi.ui.base.controller.SecondaryDrawerController import eu.kanade.tachiyomi.ui.base.controller.TabbedController import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction import eu.kanade.tachiyomi.ui.category.CategoryController +import eu.kanade.tachiyomi.ui.download.DownloadController import eu.kanade.tachiyomi.ui.main.MainActivity import eu.kanade.tachiyomi.ui.manga.MangaController import eu.kanade.tachiyomi.ui.migration.MigrationController @@ -443,9 +446,6 @@ class LibraryController( searchView.clearFocus() } - // Mutate the filter icon because it needs to be tinted and the resource is shared. - menu.findItem(R.id.action_filter).icon.mutate() - searchViewSubscription?.unsubscribe() searchViewSubscription = searchView.queryTextChanges() // Ignore events if this controller isn't at the top @@ -468,8 +468,10 @@ class LibraryController( val filterItem = menu.findItem(R.id.action_filter) // Tint icon if there's a filter active - val filterColor = if (navView.hasActiveFilters()) Color.rgb(255, 238, 7) else Color.WHITE - DrawableCompat.setTint(filterItem.icon, filterColor) + if (navView.hasActiveFilters()) + DrawableCompat.setTint(filterItem.icon, Color.rgb(255, 238, 7)) + else + DrawableCompat.clearColorFilter(filterItem.icon) } override fun onOptionsItemSelected(item: MenuItem): Boolean { @@ -481,6 +483,9 @@ class LibraryController( R.id.action_edit_categories -> { router.pushController(CategoryController().withFadeTransaction()) } + R.id.action_downloads -> { + router.pushController(DownloadController().withFadeTransaction()) + } R.id.action_source_migration -> { router.pushController(MigrationController().withFadeTransaction()) } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt index d34c7a0c11..e90bfb4095 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt @@ -1,6 +1,5 @@ package eu.kanade.tachiyomi.ui.main -import android.animation.ObjectAnimator import android.app.SearchManager import android.content.Intent import android.content.res.Configuration @@ -8,12 +7,12 @@ import android.graphics.Color import android.graphics.Rect import android.os.Build import android.os.Bundle +import android.provider.Settings import android.view.MotionEvent import android.view.View import android.view.ViewGroup import android.webkit.WebView import android.widget.FrameLayout -import android.widget.LinearLayout import android.widget.TextView import androidx.appcompat.graphics.drawable.DrawerArrowDrawable import androidx.biometric.BiometricManager @@ -126,7 +125,7 @@ open class MainActivity : BaseActivity() { setSupportActionBar(toolbar) drawerArrow = DrawerArrowDrawable(this) - drawerArrow?.color = Color.WHITE + drawerArrow?.color = getResourceColor(R.attr.actionBarTintColor) toolbar.navigationIcon = drawerArrow tabAnimator = TabsAnimator(tabs) @@ -158,9 +157,33 @@ open class MainActivity : BaseActivity() { true } + navigationView.setOnNavigationItemSelectedListener { item -> + val id = item.itemId + + val currentRoot = router.backstack.firstOrNull() + if (currentRoot?.tag()?.toIntOrNull() != id) { + when (id) { + R.id.nav_drawer_library -> setRoot(LibraryController(), id) + R.id.nav_drawer_recent_updates -> setRoot(RecentChaptersController(), id) + R.id.nav_drawer_recently_read -> setRoot(RecentlyReadController(), id) + R.id.nav_drawer_catalogues -> setRoot(CatalogueController(), id) + R.id.nav_drawer_extensions -> setRoot(ExtensionController(), id) + R.id.nav_drawer_downloads -> { + setRoot(DownloadController(), id) + } + R.id.nav_drawer_settings -> { + setRoot(SettingsMainController(), id) + } + R.id.nav_drawer_help -> { + openInBrowser(URL_HELP) + } + } + } + true + } val container: ViewGroup = findViewById(R.id.controller_container) - val content: LinearLayout = findViewById(R.id.main_content) + val content: ViewGroup = findViewById(R.id.main_content) container.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION @@ -209,6 +232,8 @@ open class MainActivity : BaseActivity() { if (Build.VERSION.SDK_INT >= 26 && currentNightMode == Configuration.UI_MODE_NIGHT_NO) { content.systemUiVisibility = View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR } +// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && currentNightMode == Configuration.UI_MODE_NIGHT_NO) { +// content.systemUiVisibility = View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR val drawerContainer: FrameLayout = findViewById(R.id.drawer_container) drawerContainer.setOnApplyWindowInsetsListener { v, insets -> @@ -273,6 +298,23 @@ open class MainActivity : BaseActivity() { setExtensionsBadge() } + override fun startSupportActionMode(callback: androidx.appcompat.view.ActionMode.Callback): androidx.appcompat.view.ActionMode? { + window?.statusBarColor = getResourceColor(R.attr.colorPrimary) + return super.startSupportActionMode(callback) + } + + override fun onSupportActionModeFinished(mode: androidx.appcompat.view.ActionMode) { + launchUI { + val scale = Settings.Global.getFloat(contentResolver, Settings.Global + .ANIMATOR_DURATION_SCALE, 1.0f) + val duration = resources.getInteger(android.R.integer.config_mediumAnimTime) * scale + delay(duration.toLong()) + delay(100) + window?.statusBarColor = Color.TRANSPARENT + } + super.onSupportActionModeFinished(mode) + } + private fun setExtensionsBadge() { val extUpdateText: TextView = nav_view.menu.findItem( @@ -283,10 +325,12 @@ open class MainActivity : BaseActivity() { if (updates > 0) { extUpdateText.text = updates.toString() extUpdateText.visible() + navigationView.getOrCreateBadge(R.id.nav_drawer_settings).number = updates } else { extUpdateText.text = null extUpdateText.gone() + navigationView.getOrCreateBadge(R.id.nav_drawer_settings).clearNumber() } } @@ -390,8 +434,8 @@ open class MainActivity : BaseActivity() { val backstackSize = router.backstackSize if (drawer.isDrawerOpen(GravityCompat.START) || drawer.isDrawerOpen(GravityCompat.END)) { drawer.closeDrawers() - } else if (backstackSize == 1 && router.getControllerWithTag("$startScreenId") == null) { - setSelectedDrawerItem(startScreenId) + //} else if (backstackSize == 1 && router.getControllerWithTag("$startScreenId") == null) { + // setSelectedDrawerItem(startScreenId) } else if (!router.handleBack()) { unlocked = false super.onBackPressed() @@ -401,7 +445,9 @@ open class MainActivity : BaseActivity() { fun setSelectedDrawerItem(itemId: Int) { if (!isFinishing) { nav_view.setCheckedItem(itemId) + navigationView.selectedItemId = itemId nav_view.menu.performIdentifierAction(itemId, 0) + //navigationView.menu.performIdentifierAction(itemId, 0) } } @@ -441,13 +487,16 @@ open class MainActivity : BaseActivity() { } val showHamburger = router.backstackSize == 1 + drawer.setDrawerLockMode(androidx.drawerlayout.widget.DrawerLayout.LOCK_MODE_LOCKED_CLOSED) if (showHamburger) { - drawer.setDrawerLockMode(androidx.drawerlayout.widget.DrawerLayout.LOCK_MODE_UNLOCKED) + toolbar.navigationIcon = null + //drawer.setDrawerLockMode(androidx.drawerlayout.widget.DrawerLayout.LOCK_MODE_UNLOCKED) } else { - drawer.setDrawerLockMode(androidx.drawerlayout.widget.DrawerLayout.LOCK_MODE_LOCKED_CLOSED) + toolbar.navigationIcon = drawerArrow + // drawer.setDrawerLockMode(androidx.drawerlayout.widget.DrawerLayout.LOCK_MODE_LOCKED_CLOSED) } - - ObjectAnimator.ofFloat(drawerArrow, "progress", if (showHamburger) 0f else 1f).start() + drawerArrow?.progress = 1f + //ObjectAnimator.ofFloat(drawerArrow, "alpha", if (showHamburger) 0f else 1f).start() if (from is TabbedController) { from.cleanupTabs(tabs) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsMainController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsMainController.kt index 2ac8ea26ca..34cb4ab6c1 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsMainController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsMainController.kt @@ -1,17 +1,39 @@ package eu.kanade.tachiyomi.ui.setting import androidx.preference.PreferenceScreen +import com.bluelinelabs.conductor.Controller import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.data.preference.PreferenceKeys +import eu.kanade.tachiyomi.data.preference.PreferencesHelper +import eu.kanade.tachiyomi.data.preference.getOrDefault +import eu.kanade.tachiyomi.data.track.TrackManager import eu.kanade.tachiyomi.data.updater.UpdaterJob import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction import eu.kanade.tachiyomi.util.system.getResourceColor +import eu.kanade.tachiyomi.ui.extension.ExtensionController +import uy.kohesive.injekt.injectLazy class SettingsMainController : SettingsController() { override fun setupPreferenceScreen(screen: PreferenceScreen) = with(screen) { titleRes = R.string.label_settings val tintColor = context.getResourceColor(R.attr.colorAccent) + val preferencesH: PreferencesHelper by injectLazy() + + val updateCount = preferencesH.extensionUpdatesCount().getOrDefault() + preference { + iconRes = R.drawable.ic_extension_black_24dp + iconTint = tintColor + if (updateCount == 0) { + titleRes = R.string.label_extensions + } + else { + title = "${resources?.getString(R.string.label_extensions)} ${resources + ?.getQuantityString(R.plurals.extensions_updates_pendings, updateCount, + updateCount)}" + } + onClick { navigateTo(ExtensionController()) } + } preference { iconRes = R.drawable.ic_tune_black_24dp @@ -63,7 +85,7 @@ class SettingsMainController : SettingsController() { } } - private fun navigateTo(controller: SettingsController) { + private fun navigateTo(controller: Controller) { router.pushController(controller.withFadeTransaction()) } } diff --git a/app/src/main/res/drawable/action_mode_bg.xml b/app/src/main/res/drawable/action_mode_bg.xml new file mode 100644 index 0000000000..297a3310c1 --- /dev/null +++ b/app/src/main/res/drawable/action_mode_bg.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/bottom_nav_item_selector.xml b/app/src/main/res/drawable/bottom_nav_item_selector.xml new file mode 100644 index 0000000000..e4e0225719 --- /dev/null +++ b/app/src/main/res/drawable/bottom_nav_item_selector.xml @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_arrow_down_white_32dp.xml b/app/src/main/res/drawable/ic_arrow_down_white_32dp.xml index 47d9d1ca02..eea88a322b 100644 --- a/app/src/main/res/drawable/ic_arrow_down_white_32dp.xml +++ b/app/src/main/res/drawable/ic_arrow_down_white_32dp.xml @@ -2,7 +2,8 @@ android:width="32dp" android:height="32dp" android:viewportHeight="32" - android:viewportWidth="32"> + android:viewportWidth="32" + android:tint="?attr/actionBarTintColor"> + android:width="24dp" + xmlns:android="http://schemas.android.com/apk/res/android" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_content_copy_white_24dp.xml b/app/src/main/res/drawable/ic_content_copy_white_24dp.xml index 62ad953955..ebf0430c17 100644 --- a/app/src/main/res/drawable/ic_content_copy_white_24dp.xml +++ b/app/src/main/res/drawable/ic_content_copy_white_24dp.xml @@ -1,5 +1,6 @@ - + android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_delete_white_24dp.xml b/app/src/main/res/drawable/ic_delete_white_24dp.xml index f9213d2b52..c804ca372d 100644 --- a/app/src/main/res/drawable/ic_delete_white_24dp.xml +++ b/app/src/main/res/drawable/ic_delete_white_24dp.xml @@ -2,7 +2,8 @@ android:width="24dp" android:height="24dp" android:viewportWidth="24.0" - android:viewportHeight="24.0"> + android:viewportHeight="24.0" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_done_all_white_24dp.xml b/app/src/main/res/drawable/ic_done_all_white_24dp.xml index 2479e86cea..dfec71ca44 100644 --- a/app/src/main/res/drawable/ic_done_all_white_24dp.xml +++ b/app/src/main/res/drawable/ic_done_all_white_24dp.xml @@ -1,5 +1,6 @@ - + android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_edit_white_24dp.xml b/app/src/main/res/drawable/ic_edit_white_24dp.xml index 46462b5726..82decf34bd 100644 --- a/app/src/main/res/drawable/ic_edit_white_24dp.xml +++ b/app/src/main/res/drawable/ic_edit_white_24dp.xml @@ -1,5 +1,7 @@ - + android:width="24dp" + xmlns:android="http://schemas.android.com/apk/res/android" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_file_download_white_24dp.xml b/app/src/main/res/drawable/ic_file_download_white_24dp.xml index e43b8645a5..7fc108d2f7 100644 --- a/app/src/main/res/drawable/ic_file_download_white_24dp.xml +++ b/app/src/main/res/drawable/ic_file_download_white_24dp.xml @@ -2,7 +2,8 @@ android:width="24dp" android:height="24dp" android:viewportWidth="24.0" - android:viewportHeight="24.0"> + android:viewportHeight="24.0" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_filter_list_white_24dp.xml b/app/src/main/res/drawable/ic_filter_list_white_24dp.xml index 7d435fa2b8..c6c62aa87b 100644 --- a/app/src/main/res/drawable/ic_filter_list_white_24dp.xml +++ b/app/src/main/res/drawable/ic_filter_list_white_24dp.xml @@ -2,7 +2,8 @@ android:width="24dp" android:height="24dp" android:viewportWidth="24.0" - android:viewportHeight="24.0"> + android:viewportHeight="24.0" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_label_white_24dp.xml b/app/src/main/res/drawable/ic_label_white_24dp.xml index b3c9371449..a242b38e9b 100644 --- a/app/src/main/res/drawable/ic_label_white_24dp.xml +++ b/app/src/main/res/drawable/ic_label_white_24dp.xml @@ -2,7 +2,8 @@ android:width="24dp" android:height="24dp" android:viewportWidth="24.0" - android:viewportHeight="24.0"> + android:viewportHeight="24.0" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_refresh_white_24dp.xml b/app/src/main/res/drawable/ic_refresh_white_24dp.xml index a8175c316a..f7b235c8cf 100644 --- a/app/src/main/res/drawable/ic_refresh_white_24dp.xml +++ b/app/src/main/res/drawable/ic_refresh_white_24dp.xml @@ -2,7 +2,8 @@ android:width="24dp" android:height="24dp" android:viewportWidth="24.0" - android:viewportHeight="24.0"> + android:viewportHeight="24.0" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_search_white_24dp.xml b/app/src/main/res/drawable/ic_search_white_24dp.xml index 47432c174b..80b1837345 100644 --- a/app/src/main/res/drawable/ic_search_white_24dp.xml +++ b/app/src/main/res/drawable/ic_search_white_24dp.xml @@ -2,7 +2,8 @@ android:width="24dp" android:height="24dp" android:viewportWidth="24.0" - android:viewportHeight="24.0"> + android:viewportHeight="24.0" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_settings_white_24dp.xml b/app/src/main/res/drawable/ic_settings_white_24dp.xml index ce997a727d..1e5614c590 100644 --- a/app/src/main/res/drawable/ic_settings_white_24dp.xml +++ b/app/src/main/res/drawable/ic_settings_white_24dp.xml @@ -2,7 +2,8 @@ android:width="24dp" android:height="24dp" android:viewportWidth="24.0" - android:viewportHeight="24.0"> + android:viewportHeight="24.0" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_share_white_24dp.xml b/app/src/main/res/drawable/ic_share_white_24dp.xml index c5027c6598..63f2305b86 100644 --- a/app/src/main/res/drawable/ic_share_white_24dp.xml +++ b/app/src/main/res/drawable/ic_share_white_24dp.xml @@ -2,7 +2,8 @@ android:width="24dp" android:height="24dp" android:viewportHeight="24.0" - android:viewportWidth="24.0"> + android:viewportWidth="24.0" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_sort_by_numeric_white_24dp.xml b/app/src/main/res/drawable/ic_sort_by_numeric_white_24dp.xml index 5bddea0f52..faa33a729b 100644 --- a/app/src/main/res/drawable/ic_sort_by_numeric_white_24dp.xml +++ b/app/src/main/res/drawable/ic_sort_by_numeric_white_24dp.xml @@ -2,7 +2,8 @@ android:width="24dp" android:height="24dp" android:viewportHeight="24.0" - android:viewportWidth="24.0"> + android:viewportWidth="24.0" + android:tint="?attr/actionBarTintColor"> diff --git a/app/src/main/res/drawable/ic_swap_vert_white_24dp.xml b/app/src/main/res/drawable/ic_swap_vert_white_24dp.xml new file mode 100644 index 0000000000..e1065c446b --- /dev/null +++ b/app/src/main/res/drawable/ic_swap_vert_white_24dp.xml @@ -0,0 +1,6 @@ + + + diff --git a/app/src/main/res/layout/main_activity.xml b/app/src/main/res/layout/main_activity.xml index dcf56075b1..868dfb7e58 100644 --- a/app/src/main/res/layout/main_activity.xml +++ b/app/src/main/res/layout/main_activity.xml @@ -13,7 +13,7 @@ android:layout_height="match_parent" android:fitsSystemWindows="true"> - @@ -49,9 +54,30 @@ + android:layout_height="0dp" + app:layout_constraintBottom_toTopOf="@+id/navigationView" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/appbar"> - + + + + + app:layout_constraintEnd_toEndOf="parent" + app:backgroundTint="?attr/colorAccent" /> \ No newline at end of file diff --git a/app/src/main/res/layout/recent_chapters_section_item.xml b/app/src/main/res/layout/recent_chapters_section_item.xml index 7068ec0cfe..e4925ace0d 100644 --- a/app/src/main/res/layout/recent_chapters_section_item.xml +++ b/app/src/main/res/layout/recent_chapters_section_item.xml @@ -13,7 +13,7 @@ android:id="@+id/section_text" style="@style/TextAppearance.Regular.SubHeading.Light.Bold" android:layout_width="wrap_content" - android:textColor="@color/md_white_1000" + android:textColor="?attr/actionBarTintColor" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:maxLines="1"/> diff --git a/app/src/main/res/layout/search_activity.xml b/app/src/main/res/layout/search_activity.xml index f86d95b044..91053cc7a7 100644 --- a/app/src/main/res/layout/search_activity.xml +++ b/app/src/main/res/layout/search_activity.xml @@ -30,7 +30,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:theme="@style/Theme.ActionBar.Tab" - app:tabIndicatorColor="@android:color/white" + app:tabIndicatorColor="?attr/actionBarTintColor" + app:tabTextColor="?attr/actionBarTintColor" app:tabInlineLabel="true" app:tabGravity="center" app:tabMode="scrollable" diff --git a/app/src/main/res/menu/bottom_navigation.xml b/app/src/main/res/menu/bottom_navigation.xml new file mode 100644 index 0000000000..2e363f6566 --- /dev/null +++ b/app/src/main/res/menu/bottom_navigation.xml @@ -0,0 +1,28 @@ + + + + + + + + + + diff --git a/app/src/main/res/menu/library.xml b/app/src/main/res/menu/library.xml index b7f6fa9a95..62e6974114 100644 --- a/app/src/main/res/menu/library.xml +++ b/app/src/main/res/menu/library.xml @@ -1,7 +1,8 @@ + tools:context=".MainActivity" + app:tint="@android:color/black"> + + - + + \ No newline at end of file diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 73f97a687b..ac24eb6c32 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -12,7 +12,9 @@ @color/md_white_1000_20 @color/md_grey_800 #3399FF + #212121 #212121 + @color/md_white_1000_38 @color/md_white_1000 @color/md_white_1000_70 diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index 3774497356..da41c02c96 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -8,6 +8,11 @@ @color/readerDarkBackground + + + @@ -123,6 +129,8 @@ @dimen/fab_margin fitCenter bottom|right|end + @color/md_white_1000 + ?attr/colorAccent @color/md_white_1000 @@ -134,6 +142,8 @@ fitCenter bottom|right|end @color/md_white_1000 + @color/md_white_1000 + ?attr/colorAccent eu.kanade.tachiyomi.widget.FABMoveBehaviour diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 6be9fc8799..bffdee2160 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -6,7 +6,7 @@