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

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

    If you take look at android.R.id.* fields, you will notice that all of them are in camel-case. So if the android ids are written in camel-case, I guess we have to follow this convention :)

提交回复
热议问题