Short answer: No
Longer answer:
The file name for each included resource is used in the package - it will be assigned as the field name for public static final int in the R.java file. This means that resource names, among other restrictions, must also satisfy the conditions for Java variable names.
Note that one of the Java tutorials reminds us of naming Java variables:
The variable name can be any legal identifier - an endless sequence of Unicode letters and numbers, starting with the letter, dollar sign "$" or underscore "_".
So, the following valid Java variable names will be compiled:
public static final int _1=0x7f020000; public static final int one=0x7f020001;
While the following variable name will result in a compilation error:
public static final int 1=0x7f020000;
The long answer is that this is the existing behavior in java on which Android is based, while maintaining the same limitations.
He also goes further: R.java is not specific to drawings. You will notice that you cannot have a 1.xml layout or even <string name="1"> in your strings.xml file.
source share