Naming rules for Android resources

后端 未结 6 1287
萌比男神i
萌比男神i 2020-12-10 07:29

where can I find the naming rules for Android resources? I found out thanks to compilation errors that I must use characters within [a-z0-9._], but I also have an error with

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-10 07:47

    The rules are the same as for Java identifiers since each resource must have a corresponding ID field generated in the R.java file.

提交回复
热议问题