问题
I am a newbie in Android Development and I am working on a application that implements ViewPager. Now, I would like to know if there is a way to customize a little bit the tabs in the layout.xml file. What I am trying to do is to resize the tabs and change the color of indicator (Jellybean blue). Thank you!
回答1:
You should edit nine-patch PNGs named vpi__tab_???_holo
. There are 6 of them for each screen density.
来源:https://stackoverflow.com/questions/17757431/customizing-viewpager-view-indicator