I am trying to scale ( Change height and Width ) of the view from the different positions after rotation is applied.
Code works fine when there is no rotation applied