@Override
 protected void onPostExecute(Drawable result) {
   super.onPostExecute(result);
   if (result != null) {
     drawable.setDrawable(result);
     textView.invalidate();
   }
 }
      @Override
      protected void onPostExecute(Drawable result) {
        // set the correct bound according to the result from HTTP call

        // System.out.println("result.getIntrinsicWidth()==="+result.getIntrinsicWidth());
        // System.out.println("result.getIntrinsicHeight()==="+result.getIntrinsicHeight());
        if (result != null) {
          urlDrawable.setBounds(
              0, 0, 0 + result.getIntrinsicWidth(), 0 + result.getIntrinsicHeight());
        }

        // change the reference of the current drawable to the result
        // from the HTTP call
        urlDrawable.drawable = result;

        // redraw the image by invalidating the container
        URLImageParser.this.container.invalidate();
        ((TextView) URLImageParser.this.container)
            .setText(((TextView) URLImageParser.this.container).getText());
      }