Android about the method of removing the inner split line in expandablelistview

About expandablelistview, I wrote a class to inherit from baseexpandablelistadapter groups and children

It's all done. The displayed effect is the same as many online demos. Now I just want to remove the division line between the items under that group

Do you know anything?

------Solution -------------------------- expandablelist.setdivider (null);

Up, set a transparent color before you can.

------Solution ----------------------- yes, Android: divider = "@ null"

------Solution ----------------------- it is estimated that the line can be set in getview

------Solution ----------------------- driverheight = "0dip" or driver = "transparent picture" can be set, which is to set the dividing line of the first level menu and childdriver = "0dip" of the second level menu

------Solution ----------------------- set diver height = 0;

The above is what Xiaobian brought to you about Android's method of removing the division line in expandablelistview. I hope you can support more programming tips~

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>