If you want deeper control of your density buckets just modify the -webkit-min-device-pixel-ratio and multiply its value by 160 to get the value of min-resolution, here are the basic buckets Android supports. Much more than this is overkill.

I have always struggled creating the perfect assets for all screen densities for both Android and iOS. This greatly decreases the time spent creating assets for me, so I figured I would share. Numbers are rounded up to prevent any pixels from getting clipped.