Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Escape "@" character in Android

Tags:

android

I'm looking for a way to escape the "@" symbol at the start of a string, in Android strings.xml resource. I'm continuously getting compilation errors and the layout builder in Eclipse refuses to work :(. Does anyone know how?

like image 694
pgrandjean Avatar asked Oct 31 '10 13:10

pgrandjean


Video Answer


1 Answers

The character scape depends of each one, the android documentation provides this table in https://developer.android.com/guide/topics/resources/string-resource

enter image description here

like image 163
Juan Carlos Jirón Avatar answered Oct 05 '22 22:10

Juan Carlos Jirón