Android : Scaling a view to fit screen rotation

on Sunday, September 14, 2014


I am building sketch app and I would like to support screen rotations. But on rotation i would like to resize my view like in gallery (so it fits one coordinate). I was using canvas, matrix, screenanimator and lots of other stuff to scale it to landscape or portrait mode, but sadly I can't achieve it.


So question is how could i scale my drawed canvas to fit landscape and portait mode?


0 comments:

Post a Comment