Default value in ListPreference from array.xml
<p>I would like to set default value of ListPreference as first element of array which is declared in array.xml. I would like to do it fast and simple.</p>

<p>Code like this:</p>

<pre><code> &lt;ListPreference
android:key="fontSize"
android:title="@string/fontSize"
android:entries="@array/fontSize"
android:entryValues="@array/fontSize[0]"/&gt;
</code></pre>

<p>of course "@array/fontSize[0]" dosen't work, it's clear, but there's other way to do something like this in XML or in code SIMPLY?</p>
