gridcell = (Button) row.findViewById(R.id.calendar_day_gridcell); gridcell.setText(theday); ImageView iv = new ImageView(pcalendar.this); UrlImageViewHelper.setUrlDrawable(iv,"http://172.16.4.29:81/pht/2013/9/18/3027_2013_9_18_12_14_56_b.JPG"); iv.buildDrawingCache(); Bitmap bmap = getResizedBitmap(iv.getDrawingCache(), 80, 80); Drawable d = new BitmapDrawable(getResources(), bmap); gridcell.setBackground(d);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)