|
@@ -3,6 +3,7 @@ package com.kdanmobile.reader.view
|
|
import android.content.Context
|
|
import android.content.Context
|
|
import android.os.Build
|
|
import android.os.Build
|
|
import android.support.v4.content.ContextCompat
|
|
import android.support.v4.content.ContextCompat
|
|
|
|
+import android.widget.LinearLayout
|
|
import android.widget.PopupWindow
|
|
import android.widget.PopupWindow
|
|
import com.kdanmobile.reader.R
|
|
import com.kdanmobile.reader.R
|
|
|
|
|
|
@@ -10,6 +11,8 @@ class AnnotationAttributeWindow(context: Context, isSimpleMode: Boolean) : Popup
|
|
val annotationAttributeView: AnnotationAttributeView
|
|
val annotationAttributeView: AnnotationAttributeView
|
|
|
|
|
|
init {
|
|
init {
|
|
|
|
+ width = LinearLayout.LayoutParams.WRAP_CONTENT
|
|
|
|
+ height = LinearLayout.LayoutParams.WRAP_CONTENT
|
|
isOutsideTouchable = true
|
|
isOutsideTouchable = true
|
|
isFocusable = true
|
|
isFocusable = true
|
|
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP) {
|
|
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP) {
|