Can anyone help me with this ?
The string in preference.xml is not showing any effect after setting the attribute to 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" />
我认为android:ellipsize
是为TextView定义的,但没有为PreferenceCategory
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.