diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0a1261a13..0e4a258e1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -56,6 +56,7 @@ + diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index 96857f8cf..16b35573a 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -15,12 +15,12 @@ import io.legado.app.ui.changesource.ChangeSourceDialog import io.legado.app.ui.chapterlist.ChapterListActivity import io.legado.app.ui.replacerule.ReplaceRuleActivity import io.legado.app.utils.* -import kotlinx.android.synthetic.main.activity_read.* +import kotlinx.android.synthetic.main.activity_read_book.* import kotlinx.android.synthetic.main.view_title_bar.* import org.jetbrains.anko.sdk27.listeners.onClick import org.jetbrains.anko.startActivity -class ReadBookActivity : VMBaseActivity(R.layout.activity_read), ChangeSourceDialog.CallBack { +class ReadBookActivity : VMBaseActivity(R.layout.activity_read_book), ChangeSourceDialog.CallBack { override val viewModel: ReadBookViewModel get() = getViewModel(ReadBookViewModel::class.java) diff --git a/app/src/main/java/io/legado/app/ui/readrss/ReadRssActivity.kt b/app/src/main/java/io/legado/app/ui/readrss/ReadRssActivity.kt index 543d7968b..f73e43676 100644 --- a/app/src/main/java/io/legado/app/ui/readrss/ReadRssActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readrss/ReadRssActivity.kt @@ -1,2 +1,15 @@ package io.legado.app.ui.readrss +import android.os.Bundle +import io.legado.app.R +import io.legado.app.base.BaseActivity + + +class ReadRssActivity : BaseActivity(R.layout.activity_read_rss) { + + override fun onActivityCreated(savedInstanceState: Bundle?) { + TODO("not implemented") //To change body of created functions use File | Settings | File Templates. + } + + +} \ No newline at end of file diff --git a/app/src/main/res/layout/activity_read.xml b/app/src/main/res/layout/activity_read_book.xml similarity index 100% rename from app/src/main/res/layout/activity_read.xml rename to app/src/main/res/layout/activity_read_book.xml diff --git a/app/src/main/res/layout/activity_read_rss.xml b/app/src/main/res/layout/activity_read_rss.xml new file mode 100644 index 000000000..d829e291c --- /dev/null +++ b/app/src/main/res/layout/activity_read_rss.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file