Giter Club home page Giter Club logo

Comments (7)

youlookwhat avatar youlookwhat commented on July 4, 2024

是的,我也发现了,有些系统root那这个给剃掉了,用了他们自己的跳转动画

from cloudreader.

zhangi789 avatar zhangi789 commented on July 4, 2024

那你目前是怎么解决的,呢?
1:使用overridePendingTransition(.., ..) 只能看到进入动画,退出没有动画 。
2:Transition(转场动画) getWindow().setEnterTransition(new Explode().setDuration(500)); 像做Activity 跳转很不友好。(这种动画适合部分场景)

from cloudreader.

youlookwhat avatar youlookwhat commented on July 4, 2024

是的。2只适合部分场景。
我是使用的是1,你要进入页面的时候使用overridePendingTransition,退出页面的时候也使用overridePendingTransition才行。

from cloudreader.

youlookwhat avatar youlookwhat commented on July 4, 2024
    @Override
    public void finish() {
        super.finish();
        // 第一个是进入的,第二个是退出的
        overridePendingTransition(R.anim.activity_down_in, R.anim.activity_down_out);
    }

from cloudreader.

zhangi789 avatar zhangi789 commented on July 4, 2024

你说的是对的,我测试一下可以,非常感谢!

from cloudreader.

youlookwhat avatar youlookwhat commented on July 4, 2024

解决了就好,方便的话给个Star😁~

from cloudreader.

zhangi789 avatar zhangi789 commented on July 4, 2024

ok 必须的

from cloudreader.

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.