|
|
|
@ -5,6 +5,7 @@ import android.content.Context |
|
|
|
|
import android.graphics.Typeface |
|
|
|
|
import android.graphics.drawable.Drawable |
|
|
|
|
import android.util.AttributeSet |
|
|
|
|
import android.view.MotionEvent |
|
|
|
|
import android.widget.FrameLayout |
|
|
|
|
import android.widget.ImageView |
|
|
|
|
import androidx.appcompat.widget.AppCompatImageView |
|
|
|
@ -79,6 +80,10 @@ class ContentView : FrameLayout { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun textViewTouch(event: MotionEvent) { |
|
|
|
|
content_text_view.onTouchEvent(event) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun setBg(bg: Drawable?) { |
|
|
|
|
//all supported |
|
|
|
|
ImageLoader.load(context, bg) |
|
|
|
|