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

后端 未结 8 649
北荒
北荒 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:08

    If the Android's compiler is truly doing what you say restricting camel case (which seems rather odd) then you should stick to the established conventions.

    Going against the grain will only cause unnecessary confusion. Keep things consistent in all places where possible.

提交回复
热议问题