Giter Site home page Giter Site logo

Comments (4)

pocmo avatar pocmo commented on May 26, 2024

@antlam: I added the following animation:

The final animation is composed from three animations:

  • Translate/Move: From current position to 100% (200ms)
  • Scale: From current size to 50% of it's size (x/y), pivot at the center of the view (200ms)
  • Alpha: From 100% to 0% (200ms)

Is there anything you want to change/polish?

from focus-android.

pocmo avatar pocmo commented on May 26, 2024

Landed polished version 545ae78.

from focus-android.

antlam avatar antlam commented on May 26, 2024

@pocmo I think the snackbar is still coming in too quick. I.e. we should be able to see the snackbar starting to fade in immediately after the screen is erased, but not before.

Also, can we add a 50-100ms delay just before the screen slides down? just after it's done scaling and before it begins translating.

from focus-android.

pocmo avatar pocmo commented on May 26, 2024

Okay, I have a patch (in review) with the following changes:

Total animation: 250ms

  • scale animation: 0..100ms
  • translate: 150..250ms (-> 50ms after scale)
  • alpha: 0..250ms
  • snackbar delay: 250ms

from focus-android.

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.