Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Inflating translate and alpha from a <set>. #66

Open
arichiardi opened this issue Jan 13, 2014 · 0 comments
Open

Inflating translate and alpha from a <set>. #66

arichiardi opened this issue Jan 13, 2014 · 0 comments

Comments

@arichiardi
Copy link

Hello everybody. I am working on a port as well and I tried to inflate:

<set xmlns:android="http://schemas.android.com/apk/res/android"
    android:shareInterpolator="false" >
    <translate
        android:duration="@android:integer/config_mediumAnimTime"
        android:fromXDelta="50%p"
        android:toXDelta="0" />
    <alpha
        android:duration="@android:integer/config_mediumAnimTime"
        android:fromAlpha="0.0"
        android:toAlpha="1.0" />
</set>

I saw that the code launches a RuntimeException on the translate element. The case is not handled by AnimatorInflator. Would it make sense to add the branch for translate (and alpha) and build an AnimatorSet in the recursive function in order to solve? I am definitely interested and I will be able to contribute.

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant