Android id naming convention: lower case with underscore vs. camel case

后端 未结 8 656
北荒
北荒 2020-11-30 21:26

I\'m currently programming an application for the Android. Now what I found out is that you cannot place resource objects, say, an image in the drawable folder and name it l

8条回答
  •  星月不相逢
    2020-11-30 22:05

    xml file names (which is what is used in the drawable folder) must be all lower case separated by the underscore character _ since capitalized file names are not supported in xml.

提交回复
热议问题