Comments (5)
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.
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.
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.
@power7714 why dont you just calculate percentage out of that so 5 = 100% and it is simple as that.
from androidfillableloaders.
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)
- Get Properties of Loader HOT 1
- The shape doesn't maintain it's scale
- How to get SVG path of my logo? HOT 3
- SVG is not drawn HOT 1
- want to change fillColor HOT 3
- fill the vector without drawing it
- I found it's differrnet between the drawing and percentage I want, PLZ
- I can't get onStateChangedToFire no matter what HOT 1
- NullPointerException: Attempt to invoke virtual method 'int android.content.res.TypedArray.getDimensionPixelSize(int, int)' on a null object reference HOT 1
- Attribute XXXX has been defined HOT 2
- nothing to launch? HOT 4
- github.jorgecastillo.svg.SvgPathParser.ParsePath() HOT 15
- How to change Fill Direction
- android dex
- Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.res.TypedArray.getInteger(int, int)' on a null object reference HOT 1
- Typo errors
- Set the fill level manually HOT 24
- Paint overriding HOT 1
- Background Color HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidfillableloaders.