I have an EditText that is focused and a Button that is not focused.
When I click the Button, the EditText loses focus.
When I long-click the Button, the EditText does not lose focus.
Whats the source of this behaviour? I want to achieve the long-click behaviour within a default click, is this possible?
Long click behavior is for by default for
ClipBoardactions . If you want to override it with Single click . You can do this as follows.If you are doing it to just get rid of Focusing problem then its not the way.