Add uniform Yangmi framing candidate for code37
This commit is contained in:
@@ -8,9 +8,11 @@ open class FrameLayout(val context: Context) {
|
||||
fun addView(view: Any, params: LayoutParams) { children.add(view) }
|
||||
open fun onDetachedFromWindow() {}
|
||||
}
|
||||
class ImageView(context: Context) {
|
||||
open class ImageView(context: Context) {
|
||||
enum class ScaleType { FIT_CENTER }
|
||||
var scaleType = ScaleType.FIT_CENTER; var alpha = 1f
|
||||
var scaleX=1f;var scaleY=1f;var translationY=0f
|
||||
open fun onSizeChanged(w: Int,h: Int,oldw: Int,oldh: Int) {}
|
||||
fun setImageResource(id: Int) {}
|
||||
fun setImageBitmap(bitmap: Any?) {}
|
||||
fun setImageDrawable(drawable: Any?) {}
|
||||
|
||||
Reference in New Issue
Block a user