How to wrap a preference title? (Really)
问题 Please don't point me to How to wrap preference title? as it doesn't work for the case where (as I commented) you use a @strings/ reference to a strings.xml file. If you use android:title="@string/some_string" and put <string name="some_string">the string I want \n to wrap</string> into strings.xml , the \n is ignored. 回答1: I think all title s inside preference screen are expected to be single line . I don't think declaring as android:title="The title of this preference\nis this." will work.