0

Unexpected text found in layout file android:backround="#252525">

I keep getting this error... I'm trying to make an alarm clock app, because I want one that fits how I would like it! If anyone else has had this issue or knows a fix please make sure to comment. Thank you!

Unheilig
  • 16,196
  • 193
  • 68
  • 98

1 Answers1

0

Seems like you got a typo . which is a syntax error. Do this way:

<android:background="#252525">

For further info, refer :

Community
  • 1
  • 1
OBX
  • 6,044
  • 7
  • 33
  • 77
  • I did that Oblivion, now it says "Tag start is not closed" – Mason Klaassen Oct 26 '15 at 02:02
  • The end of your tag needs to end either with /> or needs to end with a closing tag with the name of the widget such as, . For widgets that don't have children, the preferred method is to have it look like – Zach Sperske Oct 26 '15 at 03:32
  • sorry fro the delayed reply, please do edit the question with complete info – OBX Oct 26 '15 at 22:33