Simple gauge view like speedmeter in android?

后端 未结 7 1054
被撕碎了的回忆
被撕碎了的回忆 2020-12-07 16:52

I want to have a simple gauge view where i will define the start value and the end value and have a pointer to show given variable value.

7条回答
  •  被撕碎了的回忆
    2020-12-07 17:31

    Use this : Sample Project

    It can easily be added to your Gradle project:

    repositories {
        maven {
            url 'https://www.jitpack.io'
        }
    }
    
    dependencies {
    implementation 'com.jignesh13.speedometer:speedometer:1.0.0'
    }
    

    The views are declared in XML:

        
    

提交回复
热议问题