且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何更改 Android 选项卡小部件的背景?

更新时间:2023-01-05 20:06:03

如果注册TabHost.OnTabChanged事件,调用mTabHost.getCurrentTabView()获取View,然后view.setBackgroundResource()呢?

What if you register for TabHost.OnTabChanged events and call mTabHost.getCurrentTabView() to get the View, then view.setBackgroundResource()?