Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fixes #2859 - Removed onclick listener that was specifically for high…
Browse files Browse the repository at this point in the history
…lighting default values (#3415)
  • Loading branch information
daron-walters authored May 28, 2020
1 parent 51eafaf commit 4915446
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ private void initialize(Context aContext) {
mEdit1 = findViewById(R.id.editValue1);
mEdit1.setHighlightedTextColor(mHighlightedTextColor);
mEdit1.setOnEditorActionListener(mInternalEditorActionListener);
mEdit1.setOnClickListener(view -> {
if (mEdit1.getText().toString().equals(mEdit1.getHint())) {
mEdit1.requestFocus();
mEdit1.selectAll();
}
});

if (mMaxLength != 0) {
mEdit1.setFilters(new InputFilter[]{
new InputFilter.LengthFilter(mMaxLength)
Expand Down

0 comments on commit 4915446

Please sign in to comment.