Is it possible to set the width of the button while clicking the same button ?
A:
final Button button = (Button) findViewById(R.id.Button01);
int pixels = 30;
button.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
button.setWidth(pixels);
}
});
Christian
2010-10-04 10:08:08