Do my view, the type of card, trying to make scale, but that the object in the center, remained in the center. It turns out adequately only if the scale of 1, and then the viewport went the wrong way.
class MyView : View {
constructor(ctx: Context) : super(ctx)
constructor(ctx: Context, attrs: AttributeSet) : super(ctx,...