Preserving scroll position of PreferenceActivity across invocations
<p>Let's say I have a <code>PreferenceActivity</code> (which I cannot convert to use Fragments for compatibility reasons). One setting within that <code>PreferenceActivity</code> is for the current application theme, which I would like to apply instantly when changing the preference by calling <code>PreferenceActivity#recreate()</code> to force recreating the activity (using the new theme).</p>

<p>Unfortunately, the activity contains so many settings that scrolling may be required. Upon recreating the activity, I would like to restore the previous scroll position to allow for a seamless transition from one theme to another.</p>

<p>Attemting to preserve the embedded <code>ListView</code>'s scroll position using <code>getListView().getScrollY()</code> in <code>onSaveInstanceState</code>, however, always returns zero.</p>

<p>Is there any way to get hold of the <code>PreferenceActivity</code>'s list scroll position and to restore it later on?</p>
