Subversion Repositories ES

Compare Revisions

Last modification

Ignore whitespace Rev 12 → Rev 13

/trunk/src/de/pointedears/converter/app/TemperaturesActivity.java
7,9 → 7,11
import android.text.Editable;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.View.OnKeyListener;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemSelectedListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import android.widget.TextView;
166,6 → 168,19
/* no-op */
}
});
 
Button buttonClear =
(Button) this.findViewById(R.id.temperatures_button_clear);
buttonClear.setOnClickListener(new OnClickListener() {
 
@SuppressWarnings("nls")
@Override
public void onClick(View v)
{
editValue1.setText("");
editValue2.setText("");
}
});
}
 
/**