简体   繁体   中英

android flat tabwidget

please how can I customize tabwidget to get a flat styled one with no dividers just like this one

查看pingdom中使用的tabhost

You can set a custom appearance for your TabHost by calling TabSpec's setIndicator method with a custom view when you're setting up your tabs. The Google IO 2010 Scheduling app has some examples of this.

But for pete's sake, don't put your tabs at the bottom of the screen like these guys did. Don't treat your Android users like they're iPhone users, you're just insulting them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM