Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不想更改 TabHost 我只想在选择时获得选项卡按钮的第一个渐变颜色(例如三星 TouchWiz 中的浅蓝色)
怎么做?
好吧,我想我可以用它来获得可绘制的背景......
tabWidget.getBackground();
...但不是颜色本身,因为背景是图像。