|
|
|
@ -5,7 +5,6 @@ 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 |
|
|
|
@ -80,10 +79,6 @@ class ContentView : FrameLayout { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun textViewTouch(event: MotionEvent) { |
|
|
|
|
content_text_view.onTouchEvent(event) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun setBg(bg: Drawable?) { |
|
|
|
|
//all supported |
|
|
|
|
ImageLoader.load(context, bg) |
|
|
|
|