/** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.viewswitcher2_main);
   mViewManager = MainViewManager.getInstance();
   mViewManager.setupViews(this);
 }
 @Override
 public void onClick(View v) {
   final int id = v.getId();
   if (mCurId == id) {
     return;
   }
   mCurId = id;
   mViewManager.setCurBtnPos(id);
   mViewManager.processViews(this);
   mViewManager.onRotateAnimation(mViewManager.getCurBtnIndex(id));
 }