I make a project based on speech reconginition. It works fine. When I click button google speech recognition is starting and when the speech is ended it automatically ends. But I want the user touch to pause speech recognition whenever the user wants. My screen is like this:
note: in swiftkey keyboard on play store , they do what i want.