0
可以旋轉與您可以在代碼中縮放ImageView嗎? Android的
ImageView.setRotation(float rotation);
的ImageView的,但你可以擴展?
編輯: 事情是這樣的......
ImageView icon = (ImageView) findViewById(R.id.icon);
for (int i = 0; i < 90; i++){
Log.i("Rotate", "Rotating icon by " + String.valueOf(i) + " degrees.");
Log.i("Scale", "Scaling icon by " + String.valueOf(i/90) + " degrees.");
icon.setRotation(i); // rotate by i degrees (0 to 90)
icon.setScale(i/90); // scale by i/90 (0 to 100%)
try{Thread.sleep(5);}// sleep for a little bit
catch(InterruptedException e){}
}
的[Android的圖像視圖矩陣規模+翻譯](http://stackoverflow.com/questions/6075363/android-image-view-matrix-scale-translate) –