How to center text
<p>So I am writing a program which includes a main menu, and for the main menu I use the following code snip, My question is how can I get the items that it makes appear to be centered rather than left align.</p>

<pre><code>setListAdapter(new ArrayAdapter&lt;String&gt;(MainMenu.this, android.R.layout.simple_list_item_1, Actions));
</code></pre>

<p>thanks for any help</p>
