As described on Android Developer site:
A drawable defined in XML that insets another drawable by a specified distance. This is useful when a View
Another option: if you want to use DP instead of PX, try my suggestion below. From my experience, InsetDrawable only works with pixels, which I find... unhelpful. To be honest, I am not happy with this solution, but hey, it works.