Code Monkey home page Code Monkey logo

Comments (10)

SkyD666 avatar SkyD666 commented on May 20, 2024

调用Android系统动画,指的是页面切换吗

如果是的话,没有办法用系统的动画,因为这些页面是Fragment,不是Activity,系统的动画针对的是Activity

from anivu.

SkyD666 avatar SkyD666 commented on May 20, 2024

对于divider ,应该需要评估一下,原因请见:https://m3.material.io/components/cards/guidelines#406a4338-c187-4d1f-b289-502a79eb6b47 ------ Don't force content into cards when spacing, headlines, or dividers would create a simpler visual hierarchy

from anivu.

txyyh avatar txyyh commented on May 20, 2024

那试试 spacing
主要还是 divider 用的太多

from anivu.

txyyh avatar txyyh commented on May 20, 2024

如果是的话,没有办法用系统的动画,因为这些页面是Fragment,不是Activity,系统的动画针对的是Activity

也许可以参考下还在使用fragment时期的tachi代码是如何实现的

from anivu.

SkyD666 avatar SkyD666 commented on May 20, 2024

如果是的话,没有办法用系统的动画,因为这些页面是Fragment,不是Activity,系统的动画针对的是Activity

也许可以参考下还在使用fragment时期的tachi代码是如何实现的

能给个地址吗

from anivu.

txyyh avatar txyyh commented on May 20, 2024

随便一个taichi分支都有以前的历史提交,比如这个

from anivu.

SkyD666 avatar SkyD666 commented on May 20, 2024
SVID_20240403_190657_1.mp4

您指的系统的切换效果是这种从右侧进入的效果吗

from anivu.

txyyh avatar txyyh commented on May 20, 2024

您指的系统的切换效果是这种从右侧进入的效果吗

是的
您完全可以通过查看 android 14 的设置界面来参考最终效果

from anivu.

SkyD666 avatar SkyD666 commented on May 20, 2024

是的 您完全可以通过查看 android 14 的设置界面来参考最终效果

其实这个效果应该也不是跟随系统的,fragment切换也可以设置这样的动画

from anivu.

SkyD666 avatar SkyD666 commented on May 20, 2024

动态色与更换主题请见此处:https://github.com/SkyD666/AniVu/actions/runs/8558141909

from anivu.

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.