Let's briefly describe how to import apidemos. It is very simple to use Juno and later versions of eclipse. Click new -- Other and select the android sample project under android.
Reprinted please specify reference address: http://blog.csdn.net/ethan_xue/article/details/8022471
I believe that you can use a 3D Rotation demo in the notebook, but the rotated view is the opposite. This tutorial will solve this problem.
Let's take a look at the effects in the original demo.
Then let's take a look at the effect after using this
Right. After the flip, the view becomes reversed. This does not meet our requirements.Code, Main modification part
Applyrotation (-1,360,270); // It was originally applyrotation (-1,180, 90 );
// It turns out to be rotation = new rotate3danimation (90,180, centerx, centery, 310.0f, false); rotation = new rotate3danimation (270,360, centerx, centery, 310.0f, false );
Effect after modification
Add the project code
Http://download.csdn.net/detail/ethan_xue/4601160