How to change label, size of child-tab(tabspec) (of tabhost)

by Huynh Ngoc Bang » Fri, 20 May 2011 09:34:00 GMT


Sponsored Links
 I create tabhost with 4 tabspec.

I would like to change label (setIndicator), size of tab  when tab
change from this  tab to another.
How can I do.?

Thanks!

-- 



Other Threads

1. Retrieving Shoutcast Meta-Data from MediaPlayer not possible. Any alternative ?

Hi folks,

this is my first post. Cool to be here :)

I am developing a shoutcast client for Android with API 1.6.
The playback is working perfectly but I am not able to get the meta-
data (song / artist).

Maybe someone of you guys could give me a hint.

As the API documentation tells me there is a
MEDIA_INFO_METADATA_UPDATE value when OnInfoListener.onInfo is called
since API level 5. Unfortunately this is not helping at all because

1. There is no further informaton within the API documentation how to
actually retrieve this metadata - or I am not able to find it.

2. I am developing fot 1.6 so this MEDIA_INFO_METADATA_UPDATE is not
available to me anyway.

So to me the only alternative seems to read the shoutcast stream
manually and use the buffered data with
the MediaPlayer as a DataSource. I tried that and it turned out to
work BUT I was not able to remove a little gap between buffer
playbacks because the MediaPlayer was not able to synchronize the two
data sources because there is no such mechanism implemented (I
guess).

Furthermore I know that it is possible to get this done because there
are existing shoutcast clients even for Android 1.5 available.

Does anybody know something about this issue ?

Regards
Ole




-- 

2. regarding image in menu items

hi all

I am trying to build a menu which cotains the food items available in
USA. I want to place the image of the restaurant and the item name
side by side (i.e <image of burgerking> chickenburger) in the menu
items. Can anyone help me how to accomplish this.

Thanks
Pavan

-- 

3. News and Weather Standings: 11/16/2009 - 11/25/2009

4. How to call service by intents and programmatically?

5. drag and drop listview, background color & transparency broken, TouchInterceptor modification

6. Installing prebuilt apk

7. Google Map Intents, and a pin?