1
我有一個按鈕觸摸的桌子,慢慢地淡出並且變爲隱形。爲此,我使用了下面的代碼。桌面排列動畫的Android過渡動畫
private TableRow topRow = (TableRow) findViewById(R.id.topRow);
.....
.....
topRow.startAnimation(AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_out));
topRow.setVisibility(View.INVISIBLE);
在另一種情況下,該行必須緩慢下降(就像日落一樣)並變得不可見。上面的代碼有什麼變化,或者如何安排?