Android Question increase the space between label border and label text

Mario Krsnic

Member
Licensed User
Hello everybody,
if I set the label border by code or in designer in each case the label text touches the border. Is it possible to change this increasing the space between?
Thanks
 

Attachments

  • bin.jpg
    bin.jpg
    19.1 KB · Views: 164

Mahares

Expert
Licensed User
Longtime User
designer in each case the label text touches the border. Is it possible to change this increasing the space between?
you can change the padding property in the designer of the edittext or label in question . The dropdown allows you to change the left, top, right and bottom spacing
 
Upvote 0

Mario Krsnic

Member
Licensed User
Another option, relevant for cross platform layouts, is to put the label in a panel and make the label transparent.
Thank you, Erel! Yes I considered this possibility, I could have done it this way, but in the actual context it is easier and simplier to perfom the task setting padding values.
 
Upvote 0
Top