I need to create a bitmap resource via xml, like:
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/btn_home"
>
</bitmap>
But I need to set opacity to this bitmap. Is there a way I can do this using this xml? I know that it would work if Shape tag was allowed inside of the bitmap tag, but I tried with no success.