title: set background color: Android
body: <p>How Do I set the background color of my android app. When I try:</p>
  
  <pre><code>LinearLayout li=(LinearLayout)findViewById(R.id.myLayout);
  li.setBackgroundColor(Color.parseColor("#rrggbb"));
  </code></pre>
  
  <p>My app always crashes. Could someone help me out. Thanks</p>