public class TextSwitcherTest extends View implements ViewFactory
{
     private TextSwitcher mSwitcher;
     private int mCounter = 0;

     public TextSwitcherTest(Context context)
     {
          super(context);

         mSwitcher = (TextSwitcher) findViewById(R.id.switcher);
         mSwitcher.setFactory(this);
     } 

     public TextSwitcherTest(Context context, AttributeSet attrs)  // 수정 AttributeSet attrs 추가
     {
         super(context , attrs);

         mSwitcher = (TextSwitcher) findViewById(R.id.switcher);
         mSwitcher.setFactory(this);
    }

    public View makeView() 
    {
        TextView t = new TextView(this);
        t.setGravity(Gravity.TOP | Gravity.CENTER_HORIZONTAL);
        t.setTextSize(36);
        return t;
    }

}

위와 같이 TextSwitcher를 테스트 해볼려구 하는데 

TextView t = new TextView(this); 에서 자꾸 아래와 같은 메시지가 뜨는데

The constructor TextView(ImageViewRotate) is undefined

뭐가 잘못 되었는지 모르겠어요 도움부탁드립니다.