How do I change my XML resources, or which XML file should I create to access integer values the same way you access string values using R.string.some_string_resource ?
For example, in the code I want to say:
ProgressDialog progressBar = new ProgressDialog(getContext()); progressBar.setMax(getInteger(R.integer.maximum));
Is it possible?
android android-resources
Terry Oct 10 '13 at 13:45 2013-10-10 13:45
source share