|
|
|
@ -23,6 +23,7 @@ import io.legado.app.data.entities.BookSource |
|
|
|
|
import io.legado.app.data.entities.rule.* |
|
|
|
|
import io.legado.app.lib.dialogs.alert |
|
|
|
|
import io.legado.app.lib.theme.ATH |
|
|
|
|
import io.legado.app.lib.theme.backgroundColor |
|
|
|
|
import io.legado.app.ui.book.source.debug.BookSourceDebugActivity |
|
|
|
|
import io.legado.app.ui.login.SourceLogin |
|
|
|
|
import io.legado.app.ui.widget.KeyboardToolPop |
|
|
|
@ -122,6 +123,7 @@ class BookSourceEditActivity : |
|
|
|
|
window.decorView.viewTreeObserver.addOnGlobalLayoutListener(KeyboardOnGlobalChangeListener()) |
|
|
|
|
recycler_view.layoutManager = LinearLayoutManager(this) |
|
|
|
|
recycler_view.adapter = adapter |
|
|
|
|
tab_layout.setBackgroundColor(backgroundColor) |
|
|
|
|
tab_layout.addOnTabSelectedListener(object : TabLayout.OnTabSelectedListener { |
|
|
|
|
override fun onTabReselected(tab: TabLayout.Tab?) { |
|
|
|
|
|
|
|
|
|