Update MainActivity.java

change in rotate
Merge pull request #4 from YuanGe--/master

Update MainActivity.java