Periodically, I will run in to an issue where a layout file will not read values from any dimensions file. This comes up when you have multiple values folders with different qualifiers, as I am working with now. I am looking for a way to add some logging that will show me exactly which values folder is being used. I have found several examples that allow you to get screen information, such as the following, and am hoping there is some method that will return which values folder / qualifier is being used as well.
int screenDensityDPI = getResources().getConfiguration().densityDpi;
int screenWidth = getResources().getConfiguration().screenWidthDp;
int smallestScreenWidth =getResources().getConfiguration().smallestScreenWidthDp;