PDA

View Full Version : Change button background



ktix007
11-06-2009, 04:26 PM
Hi I've just started developing for android and I have a question: I want to turn a button into blue when i press it. How can I do this?



Button1.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
I DONT KNOW WHAT TO PUT HERE
}
});

Thanks :)