title: Unresolved Error When using bitmap to shrink resolution
body: <p>I am trying to use the bitmap code given from developer.android.com @ <a href="https://developer.android.com/training/displaying-bitmaps/load-bitmap.html" rel="nofollow">https://developer.android.com/training/displaying-bitmaps/load-bitmap.html</a>. I think I almost have it but am currently getting an error when trying to find my picture when creating the image view in the java file.</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_ion);
      ImageView ionImageView = (ImageView) findViewById(R.drawable.ion2);
      ionImageView.setImageBitmap(
              decodeSampledBitmapFromResource(getResources(), R.drawable.ion2,     500, 500));
  }
  </code></pre>
  
  <p>The error is in the findViewById(R.drawable.ion2). I am not sure what I am suppose to call there instead. </p>