![]() ![]()
| CSC 349: The Week beginning Jan. 15 |
![]() ![]()
|
android:inputType="numberDecimal"
double bill = Double.parseDouble(etBill.getText().toString());
etBill.addTextChangedListener(new TextWatcher() { public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) { public void afterTextChanged(Editable editable) {
Toast.makeText(getApplicationContext(), "Here's to you ", Toast.LENGTH_LONG).show();