I did like below in xml
xml
I hope these answers are little bit old, just change the input type in resource layout file will solve your problem. For example: