How to add Preference in ICS
<p>I need to add Preference in ICS using <code>addPreferencesFromResource()</code>.<br>
It is shown as deprecated in ICS.<br>
I've added a preference layout in xml folder but this could not be added to the Preference activity.</p>

<p>How can I add it?</p>
