pull/35/head^2
kunfei 5 years ago
parent 8928f4ef23
commit ae7b937cd2
  1. 10
      app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt

@ -1,15 +1,15 @@
package io.legado.app.ui.rss.read package io.legado.app.ui.rss.read
import android.os.Bundle import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import io.legado.app.R import io.legado.app.R
import io.legado.app.base.BaseActivity
import kotlinx.android.synthetic.main.activity_rss_read.* import kotlinx.android.synthetic.main.activity_rss_read.*
class ReadRssActivity : AppCompatActivity() { class ReadRssActivity : BaseActivity(R.layout.activity_rss_read) {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) override fun onActivityCreated(savedInstanceState: Bundle?) {
setContentView(R.layout.activity_rss_read)
val description = intent.getStringExtra("description") val description = intent.getStringExtra("description")
webView.loadData("<style>img{max-width:100%}</style>$description","text/html", "utf-8") webView.loadData("<style>img{max-width:100%}</style>$description","text/html", "utf-8")
} }
} }
Loading…
Cancel
Save