You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to record a voicemail on buttonLongPress when there's no letters in MessageInput EditText field. But the button seems to be deactivated and when I add a OnTouchListener mMessageInput.getButton().setOnTouchListener() it will be ignored. Nothing happens, the onTouchListener is never called.
mMessageInput.getButton().setActivated(true); makes no difference I can see.
How can I get catch a TouchEvent on the submit button while the EditText is empty?
The text was updated successfully, but these errors were encountered:
Why need send button enable actually. Just send directly when voice record completed. MessageInput EditText has many dependency like isTyping and stopTyping. and send button has linked with MessageInput.
I wanted to start the voice recording with the button_down event and stop recording with the button_up event of the button. I can't do that because the button is deactivated. Is there any way I can force the button to be active or to catch the events otherwise?
I wanted to record a voicemail on buttonLongPress when there's no letters in MessageInput EditText field. But the button seems to be deactivated and when I add a OnTouchListener mMessageInput.getButton().setOnTouchListener() it will be ignored. Nothing happens, the onTouchListener is never called.
mMessageInput.getButton().setActivated(true); makes no difference I can see.
How can I get catch a TouchEvent on the submit button while the EditText is empty?
The text was updated successfully, but these errors were encountered: