Android Question Get color from ColorDrawable

B4XView.Color returns the color.
See, I create a ColorDrawable like this and send it to another activity to use it:
B4X:
Dim cd As ColorDrawable
cd.Initialize2(Colors.White,10,2,Colors.Red)
Now sometimes it is necessary to get the border color from this ColorDrawable. How can I do this?
 
Upvote 0
Top