There have also some document about the method, --------------------------------------------------------------------------------------- public TabHost.TabSpec setIndicator (CharSequence label)
Since: API Level 1 Specify a label as the tab indicator. public TabHost.TabSpec setIndicator (View view) Since: API Level 4 Specify a view as the tab indicator. public TabHost.TabSpec setIndicator (CharSequence label, Drawable icon) --------------------------------------------------------------- It seams only set it will view(which is the second function), but i don't how can i set it with view(that might be contain a tab's background), Can any one tell me where can i got it? doc or code or examples, many thanks. 2011/5/8 a a <[email protected]>: > Dear devs, > > following is google sdk samples for "tab" example, > > tabHost.addTab(tabHost.newTabSpec("tab1") > .setIndicator("tab1", > getResources().getDrawable(R.drawable.star_big_on)) > .setContent(this)); > > It set a tab's icon and text, but, my question is HOW can i set a > tab's background as a bitmap(picture) ? > > Thanks ! > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

