1

I have developed top tabs(4) in android and set the names of tabs using the set Indicator method of Tab host class.But the complete names of tabs are not adjusted in the tab space. What should i do to display the whole name of the tabs.I have pasted the image for better understanding.

enter image description here

Any suggestions are appreciated

Thanks in advance

hemanth kumar
  • 3,068
  • 10
  • 41
  • 64
  • As far as I know we can't really do anything with TabHost header display. We can't set size of each tab. – kosa Dec 28 '11 at 06:24

1 Answers1

1

Check this existing SO answer: https://stackoverflow.com/a/3029300/379693

Otherwise define a custom tab:

  1. http://joshclemm.com/blog/?p=136
  2. http://code.google.com/p/android-custom-tabs/
  3. http://android.attemptone.com/layouts/custom-tabs/
Community
  • 1
  • 1
Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295