TextBox - Custom

I want to make a text box like the photo below…
…It needs to have a red line around it, but I don’t know how to do it. can anybody help me? Thanks!

1 Like

No my friend. I think I expressed myself poorly.
I took a look at this discussion you sent me, and there it just talks about rounding the corners of a text box, and that’s not what I want. What I want is to put a line around the text box.

A simple UI idea:

Put the TextBox inside a CardView, then;

  • Set the TextBox height to 200 px or more, so you won’t see the TextBox underline. As it exceeds the CardView height.
  • Set the TextBox background none.
  • Set the CardView height to 50 or 30.
  • Set CardView’s Border Stroke to 1 or 2.
  • Set CardView’s Border Color to Red.
  • Set CardView’s Corner Radius to 25 or something.

If you play with some customization properties, you can make a good styled TextBox.


aia in the link above does just that, but if he wont to give it try then it’s his choice

1 Like

Sorry, I did see the .aia you sent, but I didn’t know you could put a line around the cardview.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.