How can I force IDEA to always start Android resource references with R.?

When I use IDEA to insert an Android resource for use in my code, for example


it changes the statement to


It's not a big deal to me that it changes the import to com.<company>.R.string, but then the Lint inspector doesn't see those strings as used.  The Lint inspector seems to require the R. prefix in order to accurately detect usage.

Any ideas?



Please sign in to leave a comment.