Clear button clears all inputs
This commit is contained in:
parent
99298344f2
commit
83215d47a3
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
|
||||||
EditText focusedEditText = (EditText) focusedView;
|
EditText focusedEditText = (EditText) focusedView;
|
||||||
switch (i) {
|
switch (i) {
|
||||||
case CLEAR_BUTTON_POSITION:
|
case CLEAR_BUTTON_POSITION:
|
||||||
focusedEditText.setText("");
|
clearInputs();
|
||||||
break;
|
break;
|
||||||
case BACKSPACE_BUTTON_POSITION:
|
case BACKSPACE_BUTTON_POSITION:
|
||||||
String str = focusedEditText.getText().toString();
|
String str = focusedEditText.getText().toString();
|
||||||
|
|
Loading…
Reference in a new issue