Android Question how inserto border at the text control

Roberto P.

Well-Known Member
Licensed User
Longtime User
how can I insert or display a border at the bottom of a textcontrol? see picture.
thanks

regards
 

Attachments

  • upload_2014-5-9_18-45-13.png
    upload_2014-5-9_18-45-13.png
    4.8 KB · Views: 194

mangojack

Expert
Licensed User
Longtime User
position a panel below the EditText .. make its height only 1dip or 2 dip
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
thank you, I had thought of this solution, however, it becomes very long to do all the checks that I have to put in the form! You can make a custom control EditText, with the panel or image and use it in the designer?
thanks
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
You can make a custom control EditText, with the panel or image and use it in the designer?
Yes. Look at chapter 10 Class modules in the User's Guide.

You should have a look at 9 patch images for the background.
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
Klaus,
thanks for the tip and for driving. It would be very helpful to know the meaning of the instructions.
I will try to copy the instructions in my project.
greetings
 
Upvote 0
Top