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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -