 class BubbleTextView(context: Context?, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int) : TextView(context, attrs, defStyleAttr, defStyleRes) {      private val paint = Paint(Paint.ANTI_ALIAS_FLAG)     private val rectPath = Path()     private val trianglePath = Path()      private val rectF = RectF()     private val triangleSize = resources.getDimensionPixelSize(R.dimen.triangle_size_00dp).toFloat()     private val cornerRadius = resources.getDimensionPixelSize(R.dimen.corner_radius_0dp).toFloat()      constructor(context: Context?):