title: Set empty cell in the middle of android GridView layout
body: <p>I working on my project with gridview layout, and the whole code is pretty identical to Android Developers example (I can't post links because of my low reputation, sorry).</p>
  
  <p>Its works fantastic, when I need to fill screen with 3*3 or 4*4 (and etc) grids, but now I have to design my gridview with only 8 imageviews and I want to set the empty cell in the middle of GridView, just like that (click for images): </p>
  
  <p>That is my current position:</p>
  
  <p><a href="https://i.stack.imgur.com/RCKxc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RCKxc.jpg" alt="current position"></a></p>
  
  <p>This is what I need to do:</p>
  
  <p><a href="https://i.stack.imgur.com/2Diap.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Diap.jpg" alt="need to do"></a></p>
  
  <p>I have googled that a lot, but I can't find some example that shows how to implement that. 
  Have you any idea how can I solve that issue?</p>
  
  <p>Set it to invisible -</p>
  
  <pre><code>imageView.setVisibility(View.INVISIBLE);
  </code></pre>
  
  <p>not works for me, because then I "lost" one of my imageViews.</p>
  
  <p>Thanks a lot! </p>