|
@@ -9,7 +9,6 @@ import android.support.v7.app.AppCompatActivity
|
|
import android.os.Bundle
|
|
import android.os.Bundle
|
|
import android.support.constraint.ConstraintSet
|
|
import android.support.constraint.ConstraintSet
|
|
import android.view.*
|
|
import android.view.*
|
|
-import android.widget.PopupWindow
|
|
|
|
import android.widget.Toast
|
|
import android.widget.Toast
|
|
import com.kdanmobile.kmpdfkit.pdfcommon.KMPDFReaderView
|
|
import com.kdanmobile.kmpdfkit.pdfcommon.KMPDFReaderView
|
|
import com.kdanmobile.reader.Utils.applyConstraintSet
|
|
import com.kdanmobile.reader.Utils.applyConstraintSet
|
|
@@ -266,7 +265,7 @@ open class ReaderActivity : AppCompatActivity() {
|
|
iv_readerActivity_underline.apply {
|
|
iv_readerActivity_underline.apply {
|
|
setOnClickListener { viewModel.onClickUnderlineBtn() }
|
|
setOnClickListener { viewModel.onClickUnderlineBtn() }
|
|
setOnLongClickListener { btn ->
|
|
setOnLongClickListener { btn ->
|
|
- viewModel.onLongClickUnderlinBtn()
|
|
|
|
|
|
+ viewModel.onLongClickUnderlineBtn()
|
|
val context = this@ReaderActivity
|
|
val context = this@ReaderActivity
|
|
AnnotationPropertySettingWindow(context, true).also { window ->
|
|
AnnotationPropertySettingWindow(context, true).also { window ->
|
|
viewModel.underLineAttributeLiveData.value?.let { attr ->
|
|
viewModel.underLineAttributeLiveData.value?.let { attr ->
|