I have a drawable called "XYZ"
<item android:state_pressed="false">
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/highlightpen_blue" />
<padding android:bottom="7dp" android:left="10dp" android:right="10dp" android:top="7dp" />
<corners android:bottomLeftRadius="5dp" android:bottomRightRadius="5dp" android:topLeftRadius="5dp" android:topRightRadius="5dp" />
</shape>
</item>
in a button android:background="@drawable/XYZ"
i just want to create XYZ in code purely to change @color/highlightpen_blue