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:
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
Post a Comment