How to put space character into a string name in XML?

后端 未结 14 1947
谎友^
谎友^ 2020-12-12 13:31

i have defined some strings in the strings.xml file. Now I need to put some extra space between some numbers in the string. When I type extra space characters t

14条回答
  •  有刺的猬
    2020-12-12 13:55

    Insert \u0020 directly in the XML for a blank you would like to preserve.

    -4, \u00205, \u0020\u0020-5, \u00206, \u0020-6,
    

提交回复
热议问题