I found a way to change the divider line color and the height.
Code:
Sub SetDivider(lv As UltimateListView, Color As Int, Height As Int)
Dim r As Reflector
r.Target = lv
Dim CD As ColorDrawable
CD.Initialize(Color, 0)
r.RunMethod4("setDivider", Array As Object(CD), Array As String("android.graphics.drawable.Drawable"))
r.RunMethod2("setDividerHeight", Height, "java.lang.int")
End Sub
But now i have another question, is there a way to access the parent panel so that i can change the background color, If I add a 9 patch image to the layoutpanel inside the content layout sub, I can see the the background is always black, and i would like to change it to white, i tried by setting the activity's color to white, but it doesn't help, the only way i figured out to change the background color is by setting the theme to "Theme.Light" in the manifest editor, but i don't really like the fact that it makes the activity title's height thinner, and it shows a different scrolling bar.
Code:
SetApplicationAttribute(android:theme, "@android:style/Theme.Light")
Thanks, hope you can answer my question.
Walter