I have an EditText that shows time. After user clicks the EditText I want to show a TimePickerDialog, so I set a View.OnClickLis
EditText
TimePickerDialog
View.OnClickLis
If I understand correctly you just need something like
not editable and clickable. Set the OnClickListener and you're done. In theory, in the practice you should add too
OnClickListener
android:editable="false"
which is deprecated but does the trick.