diff --git a/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt b/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt index 6b05ca6b5..46419d57d 100644 --- a/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt +++ b/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt @@ -10,6 +10,7 @@ import io.legado.app.R import io.legado.app.base.BaseActivity import io.legado.app.data.entities.Book import io.legado.app.data.entities.BookSource +import io.legado.app.lib.theme.ThemeStore import io.legado.app.model.WebBook import io.legado.app.model.webbook.SourceDebug import io.legado.app.utils.getViewModel @@ -43,6 +44,7 @@ class SourceDebugActivity : BaseActivity(), SourceDebug.Callba adapter = SourceDebugAdapter() recycler_view.layoutManager = LinearLayoutManager(this) recycler_view.adapter = adapter + rotate_loading.loadingColor = ThemeStore.accentColor(this) } private fun initSearchView() { diff --git a/app/src/main/res/layout/activity_source_debug.xml b/app/src/main/res/layout/activity_source_debug.xml index c8dd1791a..1efecb677 100644 --- a/app/src/main/res/layout/activity_source_debug.xml +++ b/app/src/main/res/layout/activity_source_debug.xml @@ -1,5 +1,5 @@ - + android:layout_height="match_parent" + app:layout_constraintTop_toBottomOf="@+id/title_bar" /> - \ No newline at end of file + + + \ No newline at end of file