title: Imaged loaded with Glide comes with very low resolution
body: <p>I am using Glide 3.6.0 to load images from the web. 
  It works for 99% of the times, but sometimes it shows the images in very low resolution.</p>
  
  <p>Here is one of this cases.
  The <code>ImageView</code> is declared in the XML in this way:</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_alignParentRight="true"
      android:layout_gravity="center_vertical"
      android:layout_toRightOf="@id/third_item_image_view"
      android:layout_alignBottom="@id/third_item_image_view"
      android:orientation="vertical"&gt;
  
      &lt;ImageView
          android:id="@+id/first_item_image_view"
          android:layout_width="wrap_content"
          android:layout_height="0dp"
          android:layout_weight="1"
          android:adjustViewBounds="true"
          android:padding="@dimen/d0_half"
          android:scaleType="fitXY"/&gt;
  
      &lt;ImageView
          android:id="@+id/second_item_image_view"
          android:layout_width="wrap_content"
          android:layout_height="0dp"
          android:layout_weight="1"
          android:adjustViewBounds="true"
          android:padding="@dimen/d0_half"
          android:scaleType="fitXY"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Both <code>ImgeView</code> have the same problem.</p>
  
  <p>Here is how I load the images:</p>
  
  <pre><code>Glide.with(context)
              .load(imageUrl)
              .placeholder(new ColorDrawable(image.getAverageColor()))
              .error(R.drawable.image_error)
              .fitCenter()
              .into(imageView);
  </code></pre>
  
  <p>Pretty straightforward.</p>
  
  <p>I solved this problem using a <code>SimpleTarget</code> instead of the <code>ImageView</code></p>
  
  <pre><code>Glide.with(context)
              .load(imageUrl)
              .placeholder(new ColorDrawable(image.getAverageColor()))
              .error(R.drawable.image_error)
              .fitCenter()
              .into(new SimpleTarget&lt;GlideDrawable&gt;() {
                  @Override
                  public void onResourceReady(GlideDrawable resource, GlideAnimation&lt;? super GlideDrawable&gt; glideAnimation) {
                      imageView.setImageDrawable(resource.getCurrent());
                  }
              });
  </code></pre>
  
  <p>So exactly the same code except for how I assign the image to the <code>ImageView</code>.</p>
  
  <p>My question is what is the difference? Why Glide is working correctly only in the second case?</p>