Thread thr = new Thread(mTask);
thr.start();
}
Runnable mTask = new Runnable() {
public void run() {
// just sleep for 30 seconds.
try {
Thread.sleep(3000);
runOnUiThread(done);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
};
Runnable done = new Runnable() {
public void run() {
// t.setText("done");
}
};
Android Training | openstack Training |vmware Training
To customize label values in a LinearGauge with a scale from -90 to 90, set the tick marks and labels explicitly using library-specific methods. Check the documentation for details.