0

我正在根据天气创建应用程序。我正在使用这个免费的 API

这是我的JSON URL

现在,当从中获取图像weatherIconUrl时,请参见此处http://www.worldweatheronline.com/images/wsymbols01_png_64/wsymbol_0001_sunny.png,我想在将其设置为之前使其透明imageview

我试过像...

 1. android:background="@null"
 2.  android:background="@android:color/transparent"

总之how to set image as transparent after decode from the url。请给出一些想法。

谢谢。

4

0 回答 0