title: Text Gallery on Android?
body: <p>I have a gallery with the <code>TextView</code> to achieve the segment controller on the image below. I can achieve it by the ApiDemo's Gallery Example but I am lagging on the look and feel of the gallery.</p>
  
  <p>I want to do the backgrounds, Selected/deselected and selected item won't be cone to the center of the screen.</p>
  
  <p>Any Idea or Articles are most Thankful.</p>
  
  <p><a href="http://www.freeimagehosting.net/uploads/cce47da969.png">image http://www.freeimagehosting.net/uploads/cce47da969.png</a></p>
  
  <p>I have tried to get using 2 ways. that are:</p>
  
  <ol>
  <li><code>Gallery View</code></li>
  <li><code>horizontal ScrollView</code></li>
  </ol>
  
  <p>The ouput getting is in the below image:</p>
  
  <p><a href="http://www.freeimagehosting.net/uploads/b4c1be5924.png">image http://www.freeimagehosting.net/uploads/b4c1be5924.png</a></p>
  
  <p>I have Problem on Both to get the proper output. </p>
  
  <p>In Gallery View,</p>
  
  <ul>
  <li>can not Change Background of Selected
  Item.and make it us rounded corner.</li>
  <li>Selected Item comes to the center horizontal of the Screen Automatically.</li>
  </ul>
  
  <p>In horizontal View,</p>
  
  <ul>
  <li>More Complicated when the <code>textView</code>'s number is large.</li>
  <li>Can not find a way similar to On Click Item. if i have use switch case. the previous problem comes again.</li>
  </ul>