title: Android ListView center selection
body: <p>I have a ListView that shows the closest word matches to a search.</p>
  
  <p>For example if I search "hi" I get the following results in the ListView<br/></p>
  
  <p><br/>
  ...<br/>
  <strong>hi</strong><br/>
  hi five<br/>
  hi-five<br/>
  high<br/>
  highlight<br/>
  ....</p>
  
  <p>I am using </p>
  
  <pre><code>ListView.setSelection(wordList.indexOf(searchWord));
  ListView.setSelected(true);
  </code></pre>
  
  <p>The above code puts the selected word "hi" at the top and doesnt highlight the selection.</p>
  
  <p>I want the "hi" to be centrally positioned , selected and highlighted automatically.
  See below</p>
  
  <p>...<br/>
  hello<br/>
  hello there<br/>
  <strong>hi</strong><br/>
  hi-five<br/>
  hi five<br/>
  ...</p>
  
  <p>What code can I use to achieve the above?</p>
  
  <p>Many thanks.</p>