I am writing an xml settings screen for my Android application. My problem is that some of the settings names are too long and will not wrap the page. Consider my example:
<CheckBoxPreference
android:title="Language Detection (BETA)"
android:defaultValue="false"
android:summary="Automatically decide which language to use"
android:key="lan_det_pref"
android:textSize="15px"
android:lines="4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
Maybe something is missing for me, but I tried to use a number of other properties without positive results. I tried android: singleLine, android: lines, etc., and none of them seem to affect the name of the preference. Is there also a way to reduce the size of the CheckBox header?
Any help would be greatly appreciated.
Thank:)
source
share