@+id/username
@+id/password
here is my checkbox snippet
Using java Syntax Highlighting
- final CheckBox checkbox = (CheckBox) findViewById(R.id.checkbox);
- checkbox.setOnClickListener(new OnClickListener() {
- public void onClick(View v) {
- if (checkbox.isChecked()) {
- Toast.makeText(loginsystempro.this, "I will remember you!", Toast.LENGTH_SHORT).show();
- } else {
- Toast.makeText(loginsystempro.this, "Forgotten!", Toast.LENGTH_SHORT).show();
- }
- }
- });
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
how do i make it clear the text boxes once unchecked?
thanks guys




