Tuesday, February 25, 2014

tabhost line spacing problems


My tab on the bottom, I hope between tabs, can be defined by its own line width and color space.
I used tabWidget.setDividerDrawable (R.drawable.divider);
But to no avail, neighborhoods<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
There are no people passing under the guidance ah
Reply:
Try adding the driver inside the control's properties xml
Reply:
reference to the second floor shen332401890 reply:
add this driver to try

xml inside the control's propertiesNot enough
Reply:
android: divider = "@ drawable" XML TabWidget this control set about
Reply:
It before because it did not give sufficient width, can not see. And set up the divider, tabWidget.getChildCount this changed much since tabWidget he also added a few imageView, lead to other switching logic have to do the appropriate changes
Reply:
Give a look at them, I also do not display the dividing line ah
Reply:
I found some problems ah style phone
Reply:
How to get rid of it interval

No comments:

Post a Comment