1

In Android, how do I change the color of a button, pause for a few seconds, then change it again?

view story
linux-howto

http://stackoverflow.com – Here is my code: public class TestActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); start(); } private void start() { setContentView(R.layout.main); LinearLayout layout = (LinearLayout) findViewById(R.id.linearLayout); Button button = new Button(this); layout.addView(button); button.getBackground().setColorFilter(new LightingColorFilter(0x00000000, 0x0000FF00)); // green button.invalidate(); try { Thread.s (HowTos)