Skip to content

自定义的温度计View,可设置进度、最大温度

Notifications You must be signed in to change notification settings

zurich37/ThermometerView

Repository files navigation

ThermometerView

Build Status
This is a custom thermometer view, you can set the progress, the maximum temperature.

Screenshots

Usage

1.Add as a dependency to your build.gradle:
dependencies {  
    compile 'com.zurich.thermometer:ThermometerView:1.0.1'  
}
2.Add the com.zurich.thermometer.ThermometerView to your layout XML file.
<com.zurich.thermometer.ThermometerView
        android:id="@+id/thermometer_view"
        android:layout_width="150dp"
        android:layout_height="20dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:maxLength="50dp"
        app:radius="10dp"
        app:showNumber="true"
        app:textBold="true"
        app:textSize="14sp"
        tools:layout_width="150dp" />  

About

自定义的温度计View,可设置进度、最大温度

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages