Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 android textview 中使用 div align to right 但由于某种原因它不起作用。
<string name="Avot"> <![CDATA[ <div align="right"> my text .... <br /> </div> ]]> </string>
请不要建议我使用 webview,因为它通常不支持希伯来语提前谢谢
字符串资源仅支持<b>、<i>和<u>标签。Html.fromHtml()不支持<div>标签上的属性。
<b>
<i>
<u>
Html.fromHtml()
<div>