How do I insert special characters as text in XML editor for Android?

前端 未结 7 815
南笙
南笙 2021-02-06 03:50

So, I\'m writing an app that involves using some mathematical symbols. I\'m doing this in the visual XML editor. Is there any way I can get, say, an integral symbol, or a \"less

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-06 04:22

    Use < for <, > for > and & for &.
    

    or

    <   less than   <    
    >   greater than    >    
    &   ampersand   &   
    ¢   cent            ¢  
    £   pound           £ 
    ¥   yen         ¥   
    €   euro            €  
    §   section         §  
    ©   copyright   ©  
    ®   registered trademark    ®   
    ™   trademark   ™
    

提交回复
热议问题