title: How to tile image and put background color in android activity?
body: <p>I am trying to create this as a background (blue bg with gray grid lines). Except I don't want to use this image since on larger or smaller screens it will stretch the grid lines and it won't look good. So I think the best way is to specify a background color and then draw another image (1x1 transparent tile) and have it tile/repeat. Does anyone know how to specify multiple backgrounds on 1 view in the styles.xml file?</p>
  
  <p>So far I have this:</p>
  
  <pre><code>&lt;style name="RegularView" parent="@style/BaseView"&gt;
      &lt;item name="android:background"&gt;#00112d&lt;/item&gt;
      &lt;item name="android:background"&gt;@drawable/grid&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Also what is a good width size for a single square, I want it so that the squares fit evenly in the width and height of the screen. There shouldn't be like half a square on the last row or column, if that's possible..</p>
  
  <p>Thanks</p>
  
  <p><img src="https://i.stack.imgur.com/DoNjc.png" alt="enter image description here"></p>