I have got a TextInputEditText wrapped around a TextInputLayout, as Google recommends to do: https://developer.android.com/reference/android/support/design/widget/TextInputLayout.html
However, my TextInputEditText has an OnClickListener set on it so when it gets tapped by the User, a DatePickerDialog can popup.
My issue is that in fact, on the first tap nothing happens apart from the hint label to move above the TextInputEditText.
On second tap, the DatePickerDialog is shown.
How could I get that DatePickerDialog to show up on first tap?
Setting the onClickListener on the TextInutLayout instead of the TextInputEditText does not work.
Anyone has an idea?