I've searched long time but I couldn't find the correct answer.
I have Resources/values/colors.xml
I added <color name="colorBottomBar">#D0D0D0</color>
I want to set that color to my textview programmatically. I tried this.
txtBottomHome.SetTextColor(Resources.GetColor(Resource.Color.colorBottomBar));
But Resources.GetColor
is deprecated.
Please help me.