Preference Screen option is not showing
<p>My Preference Screen option is not showing, it shows-app. has stopped unexpectedly..</p>

<p>This is my Preference.java-</p>

<pre><code>public class Prefs extends PreferenceActivity {

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    addPreferencesFromResource(R.id.settings);

}
</code></pre>

<p>}</p>

<p>This is the settings for Preference-</p>

<pre><code>&lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" &gt;
&lt;CheckBoxPreference 
 android:key="music"
 android:title="@string/music_title"
 android:summary="@string/music_summary" 
 android:defaultValue="true"/&gt;
&lt;CheckBoxPreference 
    android:defaultValue="true"
     android:summary="@string/hints_summary"
     android:title="@string/hints_title"
     android:key="hints"/&gt;
 &lt;/PreferenceScreen&gt;
</code></pre>

<p>This is the Item Select event-</p>

<pre><code>public boolean onOptionsItemSelected(MenuItem item) {
    if(item.getItemId()==R.id.settings)
    {
        startActivity(new Intent(this,Prefs.class));

        return true;
    }
    return false;
}
</code></pre>

<p>And the activity is registered well in manifest file.</p>

<pre><code>&lt;activity
        android:name=".Prefs"
        android:label="@string/settings_title" &gt;

    &lt;/activity&gt;
</code></pre>
