I've created a CustomView (XUI) library which display the value of percent as code's belows
I need to contrast color 's the value of percent with the panel 's color ,xui.Color_RGB(165,42,42) is fixed color, which I don't know its color because the value of percent
created as customview(xui). How to get the panel 's color ? In order to code in the library. (I don't need edit xui.Color_RGB(165,42,42) every time when is used.)
B4X:
cvs.DrawText(Progress & "%", mBase.Width / 2, mBase.Height - 60dip, xui.CreateDefaultFont(18), xui.Color_RGB(165,42,42), "CENTER")
I need to contrast color 's the value of percent with the panel 's color ,xui.Color_RGB(165,42,42) is fixed color, which I don't know its color because the value of percent
created as customview(xui). How to get the panel 's color ? In order to code in the library. (I don't need edit xui.Color_RGB(165,42,42) every time when is used.)