btw I forgot to put the super call in the onStart() method... so it should
look like this instead:
@Override
public void onStart() {
super.onStart();
Button toggleButton = (Button)findViewById( R.id.toggleButton );
toggleButton.setOnClickListener( new View.OnClickListener() {
public void onClick( View v ) {
// Do some click stuff here...
}
} );
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en