I have dimens.xml defined in both values and values-mdpi folders. I'm expecting the value for Galaxy Nexus device (which is xhdpi) to be taken from values but actually it is taken from values-mdpi. Why is that so? Thank you.
You must create a folder for values-xhdpi.values is the default folder, but if you specify a folder with a qualifier (here, values-mdpi) the system will use the best apropriated folder with a qualifier (here values-mdpi)
If you add a values-hdpi folder, it will be used over values-mdpi for a screen at xhdpi.
If you add a values-xhdpi folder, it will be used over the previous two folder for a screen at 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