Skip to content

2. DeluxeSpeedView

Anas Altair edited this page Nov 3, 2016 · 5 revisions

Deluxe speedometer with Blur Effects.

simple usage

DeluxeSpeedView deluxeSpeedView= (DeluxeSpeedView) findViewById(R.id.deluxeSpeedView);

// change speed to 140 Km/h
deluxeSpeedView.speedTo(140);

you can see all methods And Attributes at Get Started - Wiki.

special methods

// set or remove Blur Effects.
deluxeSpeedView.setWithEffects(false);

// change Background Color of speed text.
deluxeSpeedView.setSpeedBackgroundColor(Color.RED);

special Attributes

app:withEffects="false" <!-- def : true -->
app:speedBackgroundColor="#000077"