Android : I have one edittext and button.when i clicked Button that Inserted item will display another Edittext?

on Friday, July 4, 2014


Edittext(AmountPaid) and Button(Print). when i clicked print then amountpaid will display another Edittext(TotalAmount). Each time calculate and display amount. Please guide me the correct way to achieve my objective.


total=(EditText)findViewById(R.id.editText20); amountpaid=(EditText)findViewById(R.id.editText8);


Print.setOnClickListener(new View.OnClickListener() {



public void onClick(View arg0) {
String amntpaid=PaymentPaid.getText().toString();
total.requestfocus();


}


});


0 comments:

Post a Comment