create custom view for avatarview, add to conversation layout

This commit is contained in:
Moez Bhatti
2017-08-28 23:54:49 -07:00
parent 1f63205089
commit aca0d14225
2 changed files with 45 additions and 16 deletions
@@ -0,0 +1,12 @@
package com.moez.QKSMS.ui.view
import android.content.Context
import android.util.AttributeSet
import android.widget.ImageView
class AvatarView(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : ImageView(context, attrs, defStyleAttr) {
constructor(context: Context, attrs: AttributeSet?) : this(context, attrs, 0)
constructor(context: Context) : this(context, null, 0)
}