getIdentifier() 的资源名称
Resource name for getIdentifier()
在哪里可以找到要在 getIndetifier()
中使用的资源的名称,如下例所示?
Int resId = getContext().getResources().getIdentifier("alertTitle", "id", "android");
alertTitle
在这里
据我所知,没有一份文件可以将它们全部列出来。您必须更具体地说明要查看的区域,然后浏览 Android 源代码。
在哪里可以找到要在 getIndetifier()
中使用的资源的名称,如下例所示?
Int resId = getContext().getResources().getIdentifier("alertTitle", "id", "android");
alertTitle
在这里
据我所知,没有一份文件可以将它们全部列出来。您必须更具体地说明要查看的区域,然后浏览 Android 源代码。