According to the 
http://developer.android.com/guide/tutorials/views/hello-tabwidget.html
example I'm able to use tabbed content, however problems arise if I'm
not satisfied with the default look (well, for my app, I'm not :)

In order to change the tab drawable, I'm using for each TabWidget
child setBackgroundDrawable(...) but this heads to a situation where
small strips on both side of selected tabs are still visible.

Thanks to this post
http://groups.google.com/group/android-developers/browse_thread/thread/24cbae31aa801529/eb81b970fcba805b?hl=en&lnk=gst&q=Custom+tabs+#eb81b970fcba805b
I could remove them, however, there's still a glitch>

if I set the content of the tab using
TabHost.TabSpec         setIndicator(View view), everything is fine, but...
- in layout editor, viewing such a xml heads to null pointer
exception: null in eclipse, so you can't really see what you're doing
and have to test in simulator only, which although it's possible, it's
not that cool as>

TabHost.TabSpec         setContent(Intent intent) - with this approach, I
have the tab content in separate activities, I can easily edit the
layout in the layout editor, but..

there's still a shaded line separating the tabs from the tab content,
but ONLY for tabs with INTENTS
Using hierarchy viewer, it seems that the frame layout is responsible
for rendering this, but again, this isn't visible for the tab created
with setIndicator(View view)

so if anybody can help, how to get rid of this, please?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to