Android Question How to change bordercolor of a label

bvonlaar

Member
Licensed User
Longtime User
Hello,
is it possible to change the border color by runtime of a label.
I need to switch between transparent and blue.

How can I realize it?


Benedikt
 

bvonlaar

Member
Licensed User
Longtime User
To help others it would be nice to post the solution you've found :)

Hi KMatle,
the way is very simple and dirty. So that I don´t need to manage different colors, only one is needed, I used blue as fix color of the border of a label and switch between visible and not visible. This work, but it isn´t a good programming style. In my case it is enough, but if I would need to use more than one color latest is this way bad.

Best,
Benedikt
 
Upvote 0

wes58

Active Member
Licensed User
Longtime User
Hi KMatle,
the way is very simple and dirty. So that I don´t need to manage different colors, only one is needed, I used blue as fix color of the border of a label and switch between visible and not visible. This work, but it isn´t a good programming style. In my case it is enough, but if I would need to use more than one color latest is this way bad.

Best,
Benedikt
Well, you could search the forum, and you don't event have to search far. When I opened your thread, on top of the page there are listed similar threads. One of them is titled "Panel Border Color". And there is your answer, which you can apply to Label the same way
 
Upvote 0

bvonlaar

Member
Licensed User
Longtime User
Well, you could search the forum, and you don't event have to search far. When I opened your thread, on top of the page there are listed similar threads. One of them is titled "Panel Border Color". And there is your answer, which you can apply to Label the same way

Before I ask anything I take first a look in the forum and search for similiar things. Why I didn´t found the "Panel Border Color" thread, I don´t know. However if I have to play with border colors, I´ll try to use the way in "Panel Border Color" thread.

Thanks,
Benedikt
 
Upvote 0
Top