@Override
            public void onReadyForSpeech(Bundle params) {
                super.onReadyForSpeech(params);
                onStartRecognizing();
            }
Fragment with visualization of speech recognition.
app/src/main/java/com/cleveroad/example/SpeechRecognitionFragment.java