Use special symbol (<, >) in layout design in Android

后端 未结 4 1900
眼角桃花
眼角桃花 2021-02-09 03:27

I need two navigation buttons with their texts are < and >. However, the compiler doesn\'t allow me use those symbols, even if I use \\<

4条回答
  •  一整个雨季
    2021-02-09 03:49

    Use < for <

    Use > for >

    Use & for &

    use " for "

    for complete List of symbol

    use &# decimal code of the symbol ; as above

    Enjoy Programming..

提交回复
热议问题