I have 2 test devices namely, Oneplus 3T and Samsung S9. I have created dimens.xml in xxhdpi folder (intended for Oneplus 3T) and xxxhdpi folder (intended for Samsung S9). Frankly, Both devices use dimens.xml from xxhdpi instead. I have tried change the folder into sw400dp-xxhdpi and sw420dp-xxhdpi but still both devices take dimensions from xxhdpi folder instead.
How should I arrange my dimens.xml files such that different dimensions are applied separately for each respective device.
Thanks in advance.
UPDATE
I have managed to remove my xxhdpi folder and define dimens.xml for Oneplus 3T inside folder values-sw360dp NOT values-sw400dp even though specs says that it has 401 ppi. values-sw400dp doesn't work for S9.
UPDATE
It turns out that S9 has 3 choices of display resolution namely, hd, fhd and wqhd. xhdpi works for hd, xxhdpi works for fhd and xxhdpi works for wqhd. Unfortunately, in debug mode, I cannot see the difference.