Coder Social home page Coder Social logo

Comments (3)

pekingme avatar pekingme commented on June 12, 2024

Do you mind to provide a minimum repro sample? It animates with no problems in our catalog on API 21 emulator.

from material-components-android.

Leonidius20 avatar Leonidius20 commented on June 12, 2024

Here's what happens with linear progress indicators in the app at https://github.com/Leonidius20/Lugat (you can download apk from the releases section):

On Android 12 (works as intended):

android12.mp4

On Android 5 (no animation):

android5.mp4

from material-components-android.

Leonidius20 avatar Leonidius20 commented on June 12, 2024

Here's where the indicator is defined in the layout:
https://github.com/Leonidius20/Lugat/blob/29952c18a4f211f563f8487950a47cec399402ed/app/src/main/res/layout/fragment_word_details.xml#L57

And here are the only manipulations that happen with the indicator in the code, which is that the visibility changes between Visible and Gone
https://github.com/Leonidius20/Lugat/blob/29952c18a4f211f563f8487950a47cec399402ed/app/src/main/java/io/github/leonidius20/lugat/features/details/ui/WordDetailsFragment.kt#L90

from material-components-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.