Giter VIP home page Giter VIP logo

Comments (1)

renfu8888 avatar renfu8888 commented on August 17, 2024

thanks a lot appreciate your effort .

At 2013-09-05 02:50:37,"Bill Dawson" [email protected] wrote:

A simple alpha animation ....

ViewPropertyAnimator.animate(view).alpha(0.0f); // does nothing pre-HC if view has background

... appears to do nothing on pre-HC (Gingerbread, specifically) if the view has a background. Specifically, a color background (ColorDrawable) -- I haven't tested other background drawables.

If I add a transformation such as a rotation ...

ViewPropertyAnimator.animate(view).alpha(0.0f).rotationBy(45f); // works fine

... then it all works fine. Also, if I remove the background from the view, it works fine even when only the alpha property is changed.

I've studied the code a bit, and it pretty much seems like the alpha animation is being done in the same way as the built-in, old-style AlphaAnimation.

ยกยช
Reply to this email directly or view it on GitHub.

from nineoldandroids.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.