PreferenceScreen and EditTextPreference no title
<p>I am building up a preferences activity. The problem is that the title of the screen, as well as the title of the text preferences is not shown. Any suggestions how to solve that?</p>

<p>My activity:</p>

<pre><code>    import android.os.Bundle;
    import android.preference.PreferenceActivity;

    public class PreferencesActivity extends PreferenceActivity {

        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);

            addPreferencesFromResource(R.xml.preferences);
        }
     }
</code></pre>

<p>The preferences.xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;PreferenceScreen 
xmlns:android="http://schemas.android.com/apk/res/android" 
android:title="Settings" &gt;

&lt;PreferenceCategory android:title="Token"&gt;
    &lt;EditTextPreference 
        android:key="token"
        android:title="Token"
        android:dialogTitle="Edit token"
        android:inputType="number" 
        android:maxLength="12" &gt;
    &lt;/EditTextPreference&gt;

&lt;/PreferenceCategory&gt;
&lt;PreferenceCategory android:title="Server" &gt;
    &lt;EditTextPreference  
        android:key="question_server"
        android:title="Question server"
        android:dialogTitle="Edit question server" &gt;
    &lt;/EditTextPreference&gt;
    &lt;EditTextPreference  
        android:key="answer_server"
        android:title="Answer server"
        android:dialogTitle="Edit answer server" &gt;
    &lt;/EditTextPreference&gt;
    &lt;EditTextPreference  
        android:key="media_server"
        android:title="Media server"
        android:dialogTitle="Edit media server" &gt;
    &lt;/EditTextPreference&gt;
    &lt;/PreferenceCategory&gt;

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

<p>Screenshot:</p>

<p><img src="https://dl.dropbox.com/u/36277191/metropolia/Untitled.png" alt="scr"></p>
