fredo Well-Known Member Licensed User Longtime User Jan 8, 2019 #1 For the Amir_RecyclerView the correct method is searched for to set the height and color of the horizontal divider. For example, to create a 40dip distance between the parent panels in yellow, the following code was tested without success: B4X: Recycler.Initializer("Amir").ListView.Build Recycler.DividerHorizontal.Color(Colors.Yellow).Margin(10dip).Size(40dip) Activity.AddView(Recycler, 0, 0, 100%x, 100%y) Was "DividerHorizontal" used incorrectly, or is something still missing? (Testproject attached) Attachments amir_rv_dividertest.zip 8.6 KB · Views: 232
For the Amir_RecyclerView the correct method is searched for to set the height and color of the horizontal divider. For example, to create a 40dip distance between the parent panels in yellow, the following code was tested without success: B4X: Recycler.Initializer("Amir").ListView.Build Recycler.DividerHorizontal.Color(Colors.Yellow).Margin(10dip).Size(40dip) Activity.AddView(Recycler, 0, 0, 100%x, 100%y) Was "DividerHorizontal" used incorrectly, or is something still missing? (Testproject attached)
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2019 #2 I'm not familiar with this library however it is very simple to create such list with xCustomListView. Upvote 0
I'm not familiar with this library however it is very simple to create such list with xCustomListView.
XbNnX_507 Active Member Licensed User Longtime User Jan 9, 2019 #3 fredo said: Recycler.DividerHorizontal.Color(Colors.Yellow).Margin(10dip).Size(40dip) Click to expand... ...Size(40dip).Build '<- Buid Upvote 0
fredo said: Recycler.DividerHorizontal.Color(Colors.Yellow).Margin(10dip).Size(40dip) Click to expand... ...Size(40dip).Build '<- Buid