Android Question [solved] What is the correct way to set DividerHorizontal on Amir_RecyclerView?

Discussion in 'Android Questions' started by fredo, Jan 8, 2019.

  1. fredo

    fredo Active Member Licensed User

    For the Amir_RecyclerView the correct method is searched for to set the height and color of the horizontal divider.

    2019-01-08_09-11-00.jpg

    For example, to create a 40dip distance between the parent panels in yellow, the following code was tested without success:

    Code:
    Recycler.Initializer("Amir").ListView.Build
    Recycler.DividerHorizontal.Color(
    Colors.Yellow).Margin(10dip).Size(40dip)
    Activity.AddView(Recycler, 00100%x100%y)
    Was "DividerHorizontal" used incorrectly, or is something still missing?

    (Testproject attached)
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    I'm not familiar with this library however it is very simple to create such list with xCustomListView.
     
  3. XbNnX_507

    XbNnX_507 Active Member Licensed User

    ...Size(40dip).Build '<- Buid
     
    fredo likes this.
Loading...
  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