I\'d like to load the value as it is. I have two dimension.xml files, one in /res/values/dimension.xml and the other one in /res/values-sw360
dimension.xml
/res/values/dimension.xml
/res/values-sw360
You can write integer in xml file also.. have you seen [this] http://developer.android.com/guide/topics/resources/more-resources.html#Integer ? use as .
context.getResources().getInteger(R.integer.height_pop);