get image from url and set as relative layout background on android
问题 basically what I want to do is, use the url of an image (it doesnt matter if it is downloaded or not) to set the background of relativelayout I have googled for hours and tried a lot of suggestions but I always end up with errors and app crashes... if((!modelsArrayList.get(position).isGroupHeader())&& (modelsArrayList.get(position).isProfBox())) { rowView = inflater.inflate(R.layout.prof_header, parent, false); TextView titleView = (TextView) rowView.findViewById(R.id.header); titleView