mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
优化
This commit is contained in:
parent
dbaef93f81
commit
c1cdccc9f9
@ -4,6 +4,7 @@ import android.app.Activity
|
||||
import android.content.Intent
|
||||
import android.graphics.drawable.Drawable
|
||||
import android.os.Bundle
|
||||
import android.text.method.ScrollingMovementMethod
|
||||
import android.view.Menu
|
||||
import android.view.MenuItem
|
||||
import androidx.lifecycle.Observer
|
||||
@ -53,6 +54,7 @@ class BookInfoActivity :
|
||||
|
||||
override fun onActivityCreated(savedInstanceState: Bundle?) {
|
||||
title_bar.background.alpha = 0
|
||||
tv_intro.movementMethod = ScrollingMovementMethod.getInstance()
|
||||
viewModel.bookData.observe(this, Observer { showBook(it) })
|
||||
viewModel.isLoadingData.observe(this, Observer { upLoading(it) })
|
||||
viewModel.chapterListData.observe(this, Observer { showChapter(it) })
|
||||
|
@ -189,9 +189,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:maxHeight="160dp"
|
||||
android:minHeight="100dp"
|
||||
android:scrollbars="vertical"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<View
|
||||
|
Loading…
Reference in New Issue
Block a user