if (this.alwaysShowHint && !this.editText.getHint().toString().isEmpty()) {

                // If alwaysShowHint, and the hint is not empty,
                // keep the label on the top and EditText visible.
                this.editTextLayout.setAlpha(1f);