最佳答案
在 Android Studio 中,转到 File -> Settings -> Editor -> General -> Code Folding -> 取消选中“Android String References”
。重新打开文件后,不应预览字符串资源。
关于java - 在 Android Studio 中显示字符串资源 ID 而不是字符串的值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61896570/