Android에서보기 회전 45도 각도로 놓고 싶은 버튼이 있습니다. 어떤 이유로 나는 이것을 작동시킬 수 없습니다. 누군가 이것을 수행하기 위해 코드를 제공 할 수 있습니까? API 11 은 모든 뷰에 setRotation () 메서드를 추가했습니다 . 애니메이션을 만들어 버튼보기에 적용 할 수 있습니다. 예를 들면 : // Locate view ImageView diskView = (ImageView) findViewById(R.id.imageView3); // Create an animation instance Animation an = new RotateAnimation(0.0f, 360.0f, pivotX, pivotY); // Set the animation's parameters an.set..