I have a screen where you can enable/disable modules for my Android application.
For this I use a CheckboxPreference screen. This is all good, but the summary field gets
I found an alternative solution that fits better in my case since I needed longer summaries for different types of preferences, not only CheckboxPreferences.
data/res/layout/preference.xml
from the SDK to res/layout/preference_long_summary.xml
in my app. (I took the one from API level 7, since it seems to work also for higher levels)android:maxLines
attribute from the @+android:id/summary
TextViewandroid:layout="@layout/preference_long_summary"