Coder Social home page Coder Social logo

Comments (5)

godblessyouandme avatar godblessyouandme commented on July 24, 2024

sorry i don't understand what you said. Could you repeat it in simple world?

------------------ 原始邮件 ------------------
发件人: "Steve Curtis";[email protected];
发送时间: 2016年4月28日(星期四) 下午4:43
收件人: "JorgeCastilloPrz/AndroidFillableLoaders"[email protected];

主题: [JorgeCastilloPrz/AndroidFillableLoaders] Possible to set fillaccording to numeric value? (#7)

Is is possible to set the fill level based on a numeric value? For example, from 0 to 5. I want to use a specific svg as the loader design but fill it based on the total value of ratings from 0 to 5. Please let me know if this is possible as soon as you can. Thank you.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

from androidfillableloaders.

power7714 avatar power7714 commented on July 24, 2024

Okay. Sorry. Currently the loading image is filled by percentage right? Like a progress dialog. 0-100% and then hides once complete. But what if instead I want the maximum value to be 5 and if the value is lets say 3.5, it only fills up to that level. Like a seekbar or progress bar would. For example, if the outline/image is a cup, what if I only want the cup to fill half way but stay visible no matter if the cup is full or not. I hope that better explains what I am trying to achieve. I want it to fill the same way a ratingbar would fill. if the value is only 4.5, it only fills 4 and a half of the 5 stars. I want the same effect but with a cup image using this library, not with stars but not selectable.

from androidfillableloaders.

godblessyouandme avatar godblessyouandme commented on July 24, 2024

Thank you for your patience.I benefit a lot from your words.Your project exceedingly perfect,whith Chinese world is "牛逼"

------------------ 原始邮件 ------------------
发件人: "Steve Curtis";[email protected];
发送时间: 2016年4月29日(星期五) 上午6:38
收件人: "JorgeCastilloPrz/AndroidFillableLoaders"[email protected];
抄送: "手心里的空白"[email protected]; "Comment"[email protected];
主题: Re: [JorgeCastilloPrz/AndroidFillableLoaders] Possible to set fillaccording to numeric value? (#7)

Okay. Sorry. Currently the loading image is filled by percentage right? Like a progress dialog. 0-100% and then hides once complete. But what if instead I want the maximum value to be 5 and if the value is lets say 3.5, it only fills up to that level. Like a seekbar or progress bar would. For example, if the outline/image is a cup, what if I only want the cup to fill half way but stay visible no matter if the cup is full or not. I hope that better explains what I am trying to achieve. I want it to fill the same way a ratingbar would fill. if the value is only 4.5, it only fills 4 and a half of the 5 stars. I want the same effect but with a cup image using this library, not with stars but not selectable.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

from androidfillableloaders.

Letme avatar Letme commented on July 24, 2024

@power7714 why dont you just calculate percentage out of that so 5 = 100% and it is simple as that.

from androidfillableloaders.

JorgeCastilloPrz avatar JorgeCastilloPrz commented on July 24, 2024

You can fill up to a given percentage using the brand new percentage feature merged some days ago. Check version 1.03 of the lib. The loader will start getting filled and will stop in the % you picked.

Closing this issue.

from androidfillableloaders.

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.