Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
/ GaugeView Public archive

🧩 Gauge views (charts) for Android.

License

Notifications You must be signed in to change notification settings

zhjl37/GaugeView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GaugeView

Gauge views (charts) for Android.

Gradle

implementation 'com.zhjl37.gaugeview:gaugeview:1.0.0'

Usage

Create GaugeView in XML

<me.zhjl37.gaugeview.GradeGaugeView
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="[left|top|right|bottom|center|center_horizontal|center_vertical]"
    app:useGradient="[true|false]" />

Initialize GaugeView

gaugeView.setLabel("BMI");
gaugeView.setAdapter(new Adapter4Test());

Sets the current value

gaugeView.setCurrent(20f);

About

🧩 Gauge views (charts) for Android.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages