码迷,mamicode.com
首页 > 移动开发 > 详细

android string.xml前后加空格的技巧

时间:2015-06-26 23:43:30      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:

<string name="password">密&#160;&#160;&#160;&#160;码</string>
&#160 这个就代表着空格

 

空格是分为两种的,一种是可以中断的,另外一种是不可以中断的,
&#160这种空格是不可以中断的,&#032;是可以中断的
http://stackoverflow.com/questions/10862975/how-to-put-space-character-into-a-string-name-in-xml

android string.xml前后加空格的技巧

标签:

原文地址:http://www.cnblogs.com/exmyth/p/4603414.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!