i was searching for past one day and i was not successful .
i get the image from API , and i download it to a bitmap file using the following code .
This can be simply done in xml, Please see my answer here: https://stackoverflow.com/a/18287979/665930