title: How to Set BackgroundColor on ImageView on Android?
body: <p>I tried a couple things and nothing is working... I'm trying to change the BackgroundColor on a ImageView on Android, but nothing happens...</p>
  
  <p>Here is my xml:</p>
  
  <pre><code>&lt;ImageView
     android:id="@+id/imageView1"
     android:layout_width="350dp"
     android:layout_height="550dp"
     android:layout_above="@+id/btnInfo"
     android:layout_alignLeft="@+id/fundo"
     android:layout_alignRight="@+id/btnInfo"
     android:layout_alignTop="@+id/fundo"
     android:layout_centerHorizontal="true"
     android:contentDescription="@string/backgroundMain" /&gt;
  </code></pre>
  
  <p>And the code:</p>
  
  <pre><code>public void onStart()
      {
          super.onStart();
          Log.d("Teste", "In the onStart() event 5");
  
          ImageView backgroundImg = (ImageView) findViewById(R.id.imageView1);
          backgroundImg.setBackgroundColor(Color.rgb(255, 255, 255));
      }
  </code></pre>
  
  <p>What am I missing?</p>