How to define special characters in array implementing Java application?

后端 未结 1 1071
时光取名叫无心
时光取名叫无心 2020-12-02 00:31

I am implementing input method related application in Android. In this application I\'m using special characters and symbols

Array.xml

 a\'<         


        
1条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 01:38

    in xml replace this ' character '

    Some other xml characters

    1. & - & 
    2. < - <
    3. > - >
    4. " - "
    5. ' - '
    6. { - {
    7. } - }
    8. @ - @
    
    ex:   a' Code  =   a' Code
    

    see this link for more characters...

    EDIT1 03-12-2013

    Above links seems broken now. Here are some other links

    Link1 Link2 Link3 Link4 Hope this will help.

    0 讨论(0)
提交回复
热议问题