I have a 7x6 grid of EditText
views. I want all of them disabled when the application starts, ie they should behave like normal TextViews
and not to be editable. Then the user taps one cell in the grid, it changes its background and performs something visual. If the user clicks on the cell one more time it should allow editing. I'm struggling with OnClick()
and OnFocusChange()
listeners, but I can't accomplish such a basic interaction.
Playing with setEnabled()
and setFocusable()
doesn't help. I wonder why even a simple task like this has been made so difficult on Android
According the Android guide line please use LongKeyPress for the Question you have" If the user clicks on the cell one more time it should allow editing"