I have my xml drawable as below. It works great on lollipop and above. However for prelollipop, the android:tint="#888"
is not working on the bitmap
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<solid android:color="#1222" />
</shape>
</item>
<item android:bottom="2dp" android:left="1dp" android:right="1dp" android:top="1dp">
<shape android:shape="oval">
<solid android:color="#eee" />
</shape>
</item>
<item>
<bitmap android:src="@drawable/ic_action_name" android:tint="#888" />
</item>
</layer-list>
This is same as issue reported in Drawable tinting for api <21, but the answer there are using ImageView, which I can't do it here, since I'm composing my drawable from the bitmap with some shape in the xml. Any soluion out there?