阅读背景:

API演示 - 文本到语音 - 如何将“再次”按钮更改为其他内容

来源:互联网 

Java Newbie here. Interested in learning about programming for Android. I'm going through the samples and tutorials on developer.android.com. Using Eclipse and Android SDK for developing. I was checking out the APIDemos and noticed that when compiling the TextToSpeechActivity file, and run it in my phone/emulator, I am able to click on the "Again" button and have it read aloud the text in the TextToSpeechActivity file. What I'd like to know is this.... I cannot figure out where this button is coming from, how it is getting labeled with the word "Again" on it and how it knows to be placed in that exact spot on the phone/emulator screen. Is the button being "built" by Java or is it an actual file located someplace else? I've looked through the various folders in the APIDemos project, but have not been able to locate a graphic that looks like the one showing on the phone/emulator. One last thing, when rolling over the button on the phone/emulator, the button turns from grey to orange. Any help with how this button is created, and how it knows where to be placed on the page would be appreciated.Java Newbie here. Interested in learning about




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: