普通の意味では、両方の関数は異なったAPIレベルの積であるが、今ではsettranslationでapiはatlest16でなければならないが、オフセットUでは静的な初期apiからそれらを見ることができ、 、私たちに画面を移動させる効果を与えることでaplhaを必要としませんが、そのアルファがキーポイントであるボケ関数、 settranslate例
をオフセット
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXDelta="100%p" android:toXDelta="0%p"
android:duration="@android:integer/config_longAnimTime"/>
ため、移動のillutionを作成します。画面左から右 オフセット:
<offset AlphaAnimation xmlns:android="http://schemas.android.com/apk/res/android"
android:fromalpha="0.0f" android:toalpha=1.0f"
android:duration="@android:integer/config_longAnimTime"/>
ぼかしUI
ご回答ありがとうございます。しかし、[this](http://stackoverflow.com/questions/12590664/what-does-offsetleftandright-exactly-do)によるとoffsetTopAndBottomはあなたの言うものと同じではありません。 –