title: Setting android app background image
body: <p>i want to set same background image to all my app layouts. My app supports all devices from mini phone to 10.1 tablets. </p>
  
  <p>Is there one way to do this or i need to set for every layout re-sized image that quality would be good. </p>
  
  <p>I found this in one app:
  app_background.xml in drawable folder:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;solid android:color="#ffff00" /&gt;
  &lt;/shape&gt;   
  </code></pre>
  
  <p>Also maybe some one could give me good explanation how to separate design and functions in java.</p>
  
  <p>Thanks. </p>