How to map accented characters in keyboard xml

后端 未结 2 1120
眼角桃花
眼角桃花 2020-12-21 08:35

I have to implement a simple custom soft-keyboard in my application and I want to show accented characters on the keyboard too.

These are: í, é, á, ű, ú, ő, ó, ü, ö<

2条回答
  •  情歌与酒
    2020-12-21 09:17

    A somewhat shorter solution is just to remove the codes because the label text gets sent in that case.

    
        
        
        
        
        
        
        
        
        
    
    

    See also How to make an Android custom keyboard.

提交回复
热议问题