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

css - Text drops down with smaller window -

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

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -