This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
почти всё - официальные источники | |
https://developer.android.com/guide/topics/ui/look-and-feel/themes | |
https://medium.com/androiddevelopers/android-styling-themes-vs-styles-ebe05f917578 | |
https://medium.com/androiddevelopers/whats-your-text-s-appearance-f3a1729192d | |
https://medium.com/androiddevelopers/android-styling-common-theme-attributes-8f7c50c9eaba | |
https://medium.com/androiddevelopers/android-styling-prefer-theme-attributes-412caa748774 | |
https://medium.com/androiddevelopers/android-styling-themes-overlay-1ffd57745207 | |
https://habr.com/ru/company/redmadrobot/blog/461201/ | |
https://material.io/develop/android/theming/theming-overview | |
https://material.io/design/introduction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add this to your implementation SearchSupportFragment | |
// put avoidSpeechRecognitinCrash() in your fragment before onPause() | |
override fun onPause() { | |
avoidSpeechRecognitinCrash() | |
super.onPause() | |
} | |
// "destroy" may throw java.lang.IllegalArgumentException: Service not registered: android.speech.SpeechRecognizer$Connection@dabd9b8 | |
// do all this mehod's work and wrap "destroy" to try catch | |
// private void releaseRecognizer() { |
OlderNewer