Alessandro71 Well-Known Member Licensed User Longtime User Sep 21, 2016 #1 I have a label, built in visual designer, with a ColorDrawable with a border. I'd like to change only the border color at runtime, but I haven't found any label attribute to do so.
I have a label, built in visual designer, with a ColorDrawable with a border. I'd like to change only the border color at runtime, but I haven't found any label attribute to do so.
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2016 #2 B4X: Dim cd As ColorDrawable cd.Initialize2(Colors.Transparent, 5dip, 2dip, Colors.Red) Label.Background = cd Upvote 0
B4X: Dim cd As ColorDrawable cd.Initialize2(Colors.Transparent, 5dip, 2dip, Colors.Red) Label.Background = cd