Separators in Xamarin.Forms -


i'd use horizontal separator lines in form. far found out, xamarin.forms doesn't provide one.

could provide snippet separators?

update 1

according jason's proposal, looks fine:

// draws separator line , space of 5 above , below separator     new boxview() { color = color.white, heightrequest = 5  }, new boxview() { color = color.gray, heightrequest = 1, opacity = 0.5  }, new boxview() { color = color.white, heightrequest = 5  }, 

renders below separator line:

enter image description here

you might try using boxview

// sl stacklayout sl.children.add(new boxview() { color = color.black, widthrequest = 100, heightrequest = 2 }); 

although in test, width request not being followed. may bug, or other settings might interfering it.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -