GithubHelp home page GithubHelp logo

Comments (8)

dlew avatar dlew commented on July 1, 2024

Looking at it a bit more, perhaps the only thing that would need to be scaled is the "speed" value. A speed of 1.0 looks silly between all the different widths, but if that scaled the same settings look pretty good.

from smoothprogressbar.

castorflex avatar castorflex commented on July 1, 2024

Thanks for your feedback, I’ll definitely have a look

from smoothprogressbar.

castorflex avatar castorflex commented on July 1, 2024

In fact, the speed is already scaled because it uses ratios. So if your screen is bigger, the speed will be increased. Is that the problem?

from smoothprogressbar.

dlew avatar dlew commented on July 1, 2024

Yeah, that is it I think. I think you understand the problem better than I did when I first noted it.

from smoothprogressbar.

castorflex avatar castorflex commented on July 1, 2024

I tested that but I'm not happy with it => 65c112f

from smoothprogressbar.

dlew avatar dlew commented on July 1, 2024

SwipeRefreshLayout uses an internal class called SwipeProgressBar; somehow that scales fairly well between different devices, though I haven't examined exactly why.

from smoothprogressbar.

castorflex avatar castorflex commented on July 1, 2024

Well it seems that the SwipeProgressBar does nothing more than the SmoothProgressDrawable. I guess you think it scales better because it's always in mirror mode.

from smoothprogressbar.

dlew avatar dlew commented on July 1, 2024

Yeah, that sounds about right. :)

TBH, I've switched over to SwipeRefreshLayout so this is more moot to me now.

from smoothprogressbar.

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.