I want to set bitmap color as src
. But my color isnt displayed, just empty screen. Im trying to do
mIcon11 = BitmapFactory.decodeResource(getResources(), R.color.grey);
If i write R.drawable.imageName
it displays image, why my color isnt displayed ?
My color is:
<resources>
<color name="grey">#696969</color>
</resources>