private int getInternalDimensionSize(Resources res, String key) {
            int result = 0;
            int resourceId = res.getIdentifier(key, "dimen", "android");
            if (resourceId > 0) {
                result = res.getDimensionPixelSize(resourceId);
            }
            return result;
        }
Class which describes system bar sizing and other characteristics for the current
device configuration.
app/src/main/java/com/zhao/myreader/util/SystemBarTintManager.java