2011-07-28 6 views
0

Quelqu'un peut-il m'aider avec ça?android: ellipsize = "end" ne fonctionne pas dans preferences.xml

La chaîne de préférence.xml ne montre aucun effet après avoir défini l'attribut sur android: ellipsize = "end".

 <PreferenceCategory 
    android:key="pref_key_mms_settings" 
       android:title="@string/pref_mms_settings_title" 
       android:ellipsize="end" > 

    <CheckBoxPreference android:defaultValue="false" 

     android:key="pref_key_mms_delivery_reports" 
     android:summary="@string/pref_summary_mms_delivery_reports" 
     android:title="@string/pref_title_mms_delivery_reports" /> 

    <CheckBoxPreference android:defaultValue="false" 

     android:key="pref_key_mms_read_reports" 
     android:summary="@string/pref_summary_mms_read_reports" 
     android:title="@string/pref_title_mms_read_reports" /> 

Répondre

0

Je pense que android:ellipsize est définie par exemple pour TextView mais pas pour PreferenceCategory.

Questions connexes