Android 应用资源及R文件的位置

1.介绍

(1)常识

(2)在res目录下新建资源文件(例如数字资源)

app--->res,选择res,右击new--->value resource file

2.字符资源(strings.xml)

(1)在strings.xml中定义

(2)调用

3.R文件的位置

原文地址:https://www.cnblogs.com/luckyplj/p/10492035.html