I have an android library for which I would like to mark some resources as deprecated. Drawables, dimensions, durations... I read somewhere that I could add deprecated=\"depreca
What I do is simply add a TODO statement. It does not flag the resource, but the doc keyword TODO does show up in Git and as marks in the gutter. Hopefully those warnings will be enough to keep you and others from using it.
But not always. As we know, @Deprecated is essentially a stop-gap until something is really removed for good and the code is cleaned up properly.
Here's an example of a shape.xml file that I no longer use (and want to @Deprecate).