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

后端 未结 14 2072
谎友^
谎友^ 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:54

    You want to it display like "-4, 5, -5, 6, -6," (two spaces),you can add the following code to string.xml

    "-4,  5, -5,  6,  -6,"

      is display one space.

提交回复
热议问题