Android ActionBar tab style for Honeycomb

北城余情 提交于 2019-11-29 07:21:19

You'll want to be familiar with applying a custom theme to an activity. http://developer.android.com/guide/topics/ui/themes.html

The theme attributes android:actionBarTabStyle, android:actionBarTabBarStyle, and android:actionBarTabTextStyle control the appearance of action bar tabs. The default styling uses android:background within the tab bar style for the thin line under unselected items, and a state list drawable as the android:background for the tabs themselves to handle focused/selected/pressed states. The background assets themselves are 9-patches that provide the underline in most cases but a more comprehensive highlight for pressed/focused states.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!