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.
请问如何自定义tabwidget以获得一个没有分隔线的扁平风格的,就像这个一样
setIndicator在设置选项卡时,您可以通过使用自定义视图调用 TabSpec 的方法来为 TabHost 设置自定义外观。Google IO 2010 Scheduling 应用程序有一些这样的例子。
setIndicator
但是看在皮特的份上,不要像这些人那样把你的标签放在屏幕底部。不要像对待 iPhone 用户一样对待你的 Android 用户,你只是在侮辱他们。