Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indicator as image #171

Closed
jonbhanson opened this issue Jan 6, 2020 · 4 comments
Closed

Indicator as image #171

jonbhanson opened this issue Jan 6, 2020 · 4 comments
Assignees

Comments

@jonbhanson
Copy link

Anas,
I've found the ImageSpeedometer to be very useful as it lets me fully customize the gauge face without any need to modify the code. I did want to make a different indicator, though, which required code modification. This made me think: would it be possible to make the indicator an image on the ImageSpeedometer? Then the indicator could be customized without any code.

Great library! Thanks!

@anastr
Copy link
Owner

anastr commented Jan 7, 2020

Hi @jonbhanson
have you tried ImageIndicator, that definitely needs to add one line to the code...

@jonbhanson
Copy link
Author

@anastr sorry, I completely overlooked ImageIndicator. 🤦‍♂️ That is just what I had in mind. 👌 Is it possible to use a Drawable instead of a bitmap? I would like to use a vector graphic for the needle.

@anastr anastr self-assigned this Jan 8, 2020
@anastr
Copy link
Owner

anastr commented Feb 23, 2020

done, you can now pass Drawable object in the ImageIndicator's constructor.
new version c93b5e1.

@anastr anastr closed this as completed Feb 23, 2020
@jonbhanson
Copy link
Author

Great, thanks @anastr! 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants