Android Question Color separator item

Discussion in 'Android Questions' started by micro, Jun 22, 2015.

  1. micro

    micro Well-Known Member Licensed User

    Hi to all
    it's possible change color to a separator of an item in a listview?
    When the backgroud color is too light the separator line is not visible.
  2. DonManfred

    DonManfred Expert Licensed User

    Sub SetDivider(lv As ListView, Color As Int, Height As Int)
    Dim r As Reflector
        r.Target = lv
    Dim CD As ColorDrawable
    "setDivider"Array As Object(CD), Array As String(""))
    "setDividerHeight", Height, "")
    End Sub
    jmon, asales and mangojack like this.
  3. micro

    micro Well-Known Member Licensed User

    Best regards.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice