According to the \"Resource Shrinking\" webpage of Andriod documentations (here), you can minimize the app\'s size via the build.gradle file, by using t
The answers to the questions 2 and 4 can be found in this video from Android Dev Summit 2015 along with some other useful information on this topic.
An overview of the points discussed were:
shrinkResourcesis taken into account only ifminifyEnabledis true
minifyEnabledshrinks code, whileshrinkResourcesshrinks resources that are not referenced from the codeBy default
shrinkResourcesruns insafemode. If you switch it tostrictyou can providetools:keepandtools:discardflags manually to influence the resource shrinking.