Tuesday, September 14, 2010

[android-developers] Does TabWidget.setDividerDrawable() work?

Hi,

Is TabWidget.setDividerDrawable() functional? I'm trying to use it,
passing it a 1px-wide 9 png stretchable, but no dividers are drawn
between my tabs:

tabWidget.setDividerDrawable(R.drawable.myDivider);

when used, touches then seem to break, like if I tap the 1st tab, the
3rd then gets selected. If I tap the last tab, I get a force close as
I guess it thinks I'm trying to click a tab index that does not exist,

Thanks

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate