What is the relationship between the newly announced Resource Shrinking and 
the Lint Unused Resources rule?  

If I have configurations in my lint xml, say, something like this:
<issue id="UnusedResources">
        <ignore path="res/drawable-mdpi/alpha.png" />
        <ignore path="res/drawable-mdpi/bravo.png" />
        <ignore path="res/drawable-mdpi/charlie.png" />
        <ignore path="res/drawable-mdpi/delta.png" />
        <ignore path="res/drawable-mdpi/echo.png" />
...

Are those taken into consideration in the resource shrinking step by 
proguard? Or do I need to translate those to proguard configs? I would 
think that may be the case, particularly if strict mode is enabled.

Conversely, if I have the proguard configs, do I need to create the 
corresponding lint configs so the lint warnings still don't show up in the 
IDE, or are they inferred from the proguard configs?

Refer to this section of the Android Studio for Experts (Android Dev Summit 
2015) talk 
<https://www.youtube.com/watch?v=Y2GC6P5hPeA&feature=youtu.be&t=1027> for 
context.

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to