문제

android:rotation="180"

Android 2.2 - 2.3 - not supported.

for example app: https://play.google.com/store/apps/details?id=example.matharithmetics

도움이 되었습니까?

해결책

You can Extend the TextView class and override the onDraw method.

@Override
protected void onDraw(Canvas canvas) 
{
     canvas.save();
     canvas.rotate(180,<appropriate x pivot value>,<appropriate y pivot value>);
     super.onDraw(canvas);
     canvas.restore();
}

Or using the line myCusstomView.setRotation(180); should work

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top