To scale view I use next code:
relativeLayout.setScaleX(scale);
relativeLayout.setScaleY(scale);
But after it I have the next:1
So it is offset. I need to make it not offset.
I need to add some thing like pivot point for canvas but it must be for view.
Sorry, I found: relativeLayout.setPivotX(0f); relativeLayout.setPivotY(0f);