[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sequoyah-dev] Resource editor
|
Hi Jean,
the general rule we follow for resource names in Android is the same used for Java identifiers. This is because in the end, every resource you declare, will generate a variable in the R.java file created by ADT.
I don't recall where exactly in the Android official documentation this is stated, but after googling I found:
"Resource file names must be valid Java identifiers, for example they must start with a letter and may not contain any special symbols."
Best,
Marcel
On Tue, Oct 5, 2010 at 11:46 AM, Jean-Yves Avenard
<jyavenard@xxxxxxxxx> wrote:
Hi
I had read all of those before.. But I didn't see any specifics in
case of what is allowed and what's isn't in the name of the resource
itself.
From what I have found so far though trial&errors.
name can't contain a space
name can't start with a digit (it can contain a digit though, so long
as it's not the first one)
can't contain & or /
I have almost 1000 of entries, trying to find out which one aren't
valid is a long & painful exercise..
JY
_______________________________________________
sequoyah-dev mailing list
sequoyah-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/sequoyah-dev