(私がコメントしたように)strings.xmlというファイルへの参照を使用する場合には機能しないので、私にはHow to wrap preference title?を指さないでください。嗜好タイトルをラップする方法は? (本当に)
あなたは
android:title="@string/some_string"
を使用してのstrings.xmlに
<string name="some_string">the string I want \n to wrap</string>
を置く場合は、\n
は無視されます。
見[こちら] [1]、あなたは改行 を使用する必要があります[1]:http://stackoverflow.com/questions/5460256/string-resource-new-line-n-not-possible –
@Roman Blachman:ありがとうございますが、改行は '\ n'それはまさに動作していないものです。 – dentex