feat: add neutral avatar video call MVP in Android 0.6.0
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package android.widget
|
||||
import android.content.Context
|
||||
open class FrameLayout(val context: Context) {
|
||||
class LayoutParams(w: Int,h: Int)
|
||||
val children = mutableListOf<Any>()
|
||||
fun addView(view: Any, params: LayoutParams) { children.add(view) }
|
||||
open fun onDetachedFromWindow() {}
|
||||
}
|
||||
class ImageView(context: Context) {
|
||||
enum class ScaleType { FIT_CENTER }
|
||||
var scaleType = ScaleType.FIT_CENTER; var alpha = 1f
|
||||
fun setImageBitmap(bitmap: Any?) {}
|
||||
fun setImageDrawable(drawable: Any?) {}
|
||||
}
|
||||
Reference in New Issue
Block a user