I want to know which drawable resource is used while running the application that is either from ldpi, mdpi, hdpi or xhdpi.
You should be able to get your device's display properties as described here and subsequently determine what resources are being used at runtime by comparing the result against this list:
From this information you can deduce the following, which might also be relevant for your question:
There is a 3:4:6:8 scaling ratio between the four primary densities (ignoring the tvdpi density). So, a 9x9 bitmap in ldpi is 12x12 in mdpi, 18x18 in hdpi and 24x24 in xhdpi.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With