This commit is contained in:
jacques 2023-09-16 13:13:20 +02:00
parent ec59f3eb70
commit 2be67ed41f

View file

@ -351,6 +351,8 @@ public class DrugListActivity extends AppCompatActivity {
final EditText editText=(EditText)dialog.findViewById(R.id.editcip13); final EditText editText=(EditText)dialog.findViewById(R.id.editcip13);
String cip13 = String.valueOf(editText.getText()); String cip13 = String.valueOf(editText.getText());
// TODO change the color of ok button when the number of character is correct.
ok.setText(R.string.button_ok); ok.setText(R.string.button_ok);
cancel.setText(R.string.button_cancel); cancel.setText(R.string.button_cancel);
editText.addTextChangedListener(new TextWatcher() { editText.addTextChangedListener(new TextWatcher() {