"#" in XML layout [Solved]

Put your problem here if it does not fit any of the other categories.

"#" in XML layout [Solved]

Postby helloandroid » Sat Apr 05, 2008 4:43 pm

HI,


I just found that assigning string "#" in XML layout return error.
sorry for tiny problem, do anyone know the reason and how to solve it?


kindly thanks
helloandroid
helloandroid
Junior Developer
Junior Developer
 
Posts: 18
Joined: Sun Mar 02, 2008 6:51 pm

Top

Postby helloandroid » Sun Apr 06, 2008 7:01 pm

I have just solved it, # is special character in XML
So, there are 2 ways to slove it

1. Using escape character
"\#"
2. Using unicode reference
""
helloandroid
Junior Developer
Junior Developer
 
Posts: 18
Joined: Sun Mar 02, 2008 6:51 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot], MSNbot Media and 8 guests