Juan David Trujillo C. wrote:
> I want to create an application that uses small tabs, such as the one
> the Android's facebook official app uses.
> Does anyone know how these kind of tabs can be created?  Do I need to
> extend the TabHost class in order to customize it, or is there a more
> general easier approach?

You can try using setView() to control the contents of the tabs:

http://stackoverflow.com/questions/2170200/tabwidget-how-to-set-position-of-indicator-text

I haven't yet experimented with this to see if that affects the tab
heights or not.

If you can find an APK with the smaller tabs, you can always toss that
into an emulator and use hierarchyviewer to try to figure out how they
pulled it off. Alas, hierarchyviewer does not work on devices. :-(

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in US: 22-26 February 2010: http://onlc.com

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

Reply via email to