Giter VIP home page Giter VIP logo

android-speedometer's People

Contributors

bilthon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-speedometer's Issues

How can I change the start and the end value?

I'm trying to make Signal meter with dBm value. How can I change the start and the end value. It shoule start with -94 dBm (very bad signal) and end at 0 dBm (excellent signal strength).

change text color

Hi @bilthon !! great job you did!! i really appreciate.

But i would like to change text color.

I can help by adding another attribute for that.

Speedometer Gauge Resizing

@bilthon In the XML Preview, when I set the XML Attribute of Speedometer View as android:layout_width and android:layout_height to wrap_content, it shows that the view is inflating in a squared manner (means the width and height of view are same, which is evident in the code on Speedometer.java's onMeasure () method.
And, I guess the Speedometer Gauge is adjusting on the basis of Width and Height assigned.
If I want to increase the Size of Gauge, how can it be done?

Add an open source license

Hey, your work on this speedometer looks great and I'd love to use in some apps with the OpenXC platform (http://openxcplatform.com/) but there's currently no open source license attached to your code so it's difficult for me to use. Would you mind adding one? BSD or MIT would be awesome, if you're OK with either.

How to add the speedometer into a surfaceview

Hi, Bilthon.

Thank you very much for this project. I try using you speedometer for my project. Here is a snapshot of my project view. The background color and the icon (refresh button like icon) are given onto a surfaceview. The button is actually a bitmap by far and doing nothing. I am trying to monitor
the button press via coordinate measuring in onTouchEvent. So in this case, there was a draw() to show all these.
I just put your speedometer.java and its listener into my project. Of course, the attr.xml is included.
I declare a private object of speedo in my surfaceview and give the findviewById() into the draw(). However, it is not visible as shown by the snapshot. I cannot find out why at this moment. This is the second week since I know android development. A little bit difficulties to handle the problem.
Screenshot_2019-11-07-14-23-04

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.