0
我在彈出窗口上應用動畫,從右到左。 我使用這段代碼,但即使在一些實驗中,它總是規模從左至右android動畫從右到左
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:fromYScale="0"
android:toYScale="1"
android:startOffset="0"
android:duration="300"
android:fromXScale="0.5"
android:toXScale="1"
android:fillBefore="true" />
我試圖pivotX設置爲1,但仍是結果總是一樣的。
否我想縮放,有沒有其他方法可以達到預期的效果? – Haris
對於關鍵點,您將它設置爲相對還是絕對? – Tom
我在xml中使用它,我讀到它的浮點值,默認情況下是0,但它不能用於1的值 – Haris