Hello,

When I place my custom xml file under res/xml AAPT throws a ton of
errors because the file uses '#' inside tag attributes.  For example
the line `<input semantic="NORMAL" source="#Cube-mesh-normals"
offset="1"/>` throws the following error:

error: Error: Color value not valid -- must be #rgb, #argb, #rrggbb,
or #aarrggbb (at 'source' with value '#Cube-mesh-normals'). some_file
line 114        Android AAPT Problem

For now I have moved my files under res/raw but then they are not
compressed (I understand that files in res/xml get compressed by the
packager).  Since I am pretty sure that the xml standard doesn't place
any restrictions on the usage of the hash symbol... I am not really
sure if these errors are due to a bug in AAPT or my understanding of
the res hierarchy.

Can someone enlighten me?

Stou

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to