更新时间:2022-11-11 16:55:39
你有机会阅读的编写code之前TabHost纪录片?因为你已经在使用在函数广告code键更改标签。
Did you have a chance to read the TabHost documentary before writing your code? Because you are already using a function in your code to change the tabs.
您需要做的唯一的事情就是实现它的按钮的onClick监听器里。如果你不知道如何处理按钮点击,有广阔的网络上的例子。
The only thing you have to do is to implement it inside your button's onClick listener. If you don't know how to handle button clicks, there is a vast of examples on the web.