我想xml在我做很多其他事情之前从文件中读取字符串,比如setText在窗口小部件上做什么,所以如果没有要调用的活动对象,我怎么能这样做getResources()呢?
xml
setText
getResources()
java static android const android-resources
android ×1
android-resources ×1
const ×1
java ×1
static ×1