开发者

Overriding the look of baked-in Android features

The Android app I'm working on makes use of Android's baked-in speech-input feature, but I want to alter the look of the speech-input dialog to be more of an aesthetic match with the rest of my program. Is there a way to substit开发者_开发问答ute my own assets? Is it a simple matter of overriding the layout xml that the parent class references? Thanks in advance for your time!


yes you can make a custom dialog and use setContentView(R.layout.something)


I am afraid it is as easy as substituting a layout.

You need to manage your own speech recognition flow by using the SpeechRecognizer class.

There's a lot of details involved in using it, but it appears that you can customize the UI experience if you can.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜