title: The type is deprecated
body: <p>I am using an AbsoluteLayout for a Activity and have it defined in a xml file.</p>
  
  <p>I added this line of code because I am trying to add a list of buttons dynamically and I get the following warning.</p>
  
  <pre><code>private AbsoluteLayout layout = (AbsoluteLayout) findViewById(R.id.viewsaved); 
  
  The type AbsoluteLayout is deprecated
  </code></pre>
  
  <p>The code still appears to work properly, but I was just curious to see if anyone knows why this warning appears?</p>
  
  <p>Thanks for any help!</p>