[Android]handle window resizing.