单击按钮将切换标签。
在切换标签页发几封邮件时,我还发现Gmail没有响应。
When I switched tabs to write a few e-mails, I found that Gmail was unresponsive, too.
在本例中,当您的按钮被单击时,ClickListener将被调用,并简单地来回切换标签小部件中的文本。
In this case, the ClickListener is called when your button is clicked and simply toggles the text in the label widget back and forth.
应用推荐