Fixing things in the blue theme

the dreaded blue theme...
This commit is contained in:
Jay 2020-05-08 02:30:32 -04:00
parent 6ba29d32d8
commit c5153e12ac
2 changed files with 4 additions and 1 deletions

View File

@ -207,6 +207,9 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>(),
} }
chapters_bottom_sheet.setup(this) chapters_bottom_sheet.setup(this)
if (ThemeUtil.isBlueTheme(preferences.theme())) {
chapter_recycler.setBackgroundColor(getResourceColor(android.R.attr.colorBackground))
}
config = ReaderConfig() config = ReaderConfig()
initializeMenu() initializeMenu()
} }

View File

@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="32dp" android:layout_height="32dp"
android:background="?android:attr/colorBackground" android:background="?colorPrimaryVariant"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:paddingStart="?android:attr/listPreferredItemPaddingStart" android:paddingStart="?android:attr/listPreferredItemPaddingStart"