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.?



Other Threads

1. LG Optimus and the Rise of the Cheap Androids!

Evidently it's with devices like these that Google wants to take over India:

What i find quite unusual is that Indian scripts ( that are supported in Unicode are not rendered
at all in the Android 2.1 that i have on my Samsung Galaxy S.  All i see is
a rectangular blob.  Has that been rectified in Android 2.2?




2. Listen/bind a hardwarebutton to a activity/event

Hey there, this is kind of a wide question that I'll break down for
you. In general I'm wondering if its is possible, if so then how, to
bind/listen to a hardware-button to my application.

    * Is it possible to make a hardware-button start my app on shot/
long press?
    * Is it possible to start/trigger my widget on a longpress of a
    * Is it possible to (when i have the app in the background) make a
hardwarebutton triger this app to the foreground/activate it?
    * Is it possible to let a servive listen to long-press of a
    * The camera activity on some phones has a camerabutton, can this
button be programed to work with my app?

What I want to do is that upon a longrpress (hold valume up/home-
button for more than 3 seconds) start/execute a activity in my
application like the camera-application and its camerabutton.

Im searching for any and all information about this right now as I
cant find any real answer ;(


3. Can not update app on the Market now

4. Android: DeadObjectException for InputMethodService (SoftKeyboard API sample)

5. How to pass a Context variable from one Activity to another ?

6. Segmented video streaming on Android

7. how to inject view from a dialog layout xml file when using RoboGuice?