解决方案 »

  1.   

    增加判断版本的处理
    if (VERSION.SDK_INT > 8 ) {
         调用setRotation和getRotation方法
    }
      

  2.   

    已经解决了。。stackoverflow上找到的方法。
    if (Build.VERSION.SDK_INT < 11) {
        RotateAnimation animation = new RotateAnimation(progress, progress,Animation.RELATIVE_TO_SELF, 0.5f,Animation.RELATIVE_TO_SELF,0.5f);
        animation.setDuration(100);
        animation.setFillAfter(true);
        textView.startAnimation(animation);
    } else { textView.setRotation(progress);
    }如果想要获取设置的角度的话,自定义一个View。。就OK啦、。。