public ScaleType replaceScaleType ( final ScaleType type ) { blockLayoutRequests = true ; final ScaleType result = getScaleType ( ) ; setScaleType ( type ) ; blockLayoutRequests = false ; return result ; }
This method replaces the scale type of an image view without call to layout requests .