Android customize the look of FragmentPagerAdapter -


i have fragment-based app subclass of fragmentpageradapter managing fragments. set custom images tabs in pageradapter, don't see methods doing in api. how can that?

you can set tabs in fragmentpageradapter this:

mtabsadapter.addtab(mtabhost.newtabspec("your_fragment_tag").setindicator("tab text",              res.getdrawable(r.drawable.tab_icon)),             yourfragment.class, null); 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -