在string.xml中字符串末尾添加空格失败

来源:互联网 发布:申通面单打印软件 编辑:程序博客网 时间:2024/06/06 00:10
http://www.tuicool.com/articles/riYzimE
  1. This doesnt work with wrap_content of a textview, when the space occurs at the end of the text. The textview does not maintain the width that is taken up by the 'space' character. – toobsco42 Nov 23 '13 at 4:13

  2. This will add a non-breakable space. It is different from a regular space and will not work well with certain functions (XPath's normalize-space, for example). Try using (regular space) instead of  . @toobsco42 – shwartz Feb 10 '14 at 16:43

0 0