I have read this where found that how to access integer resources in java class but no docs for another resource.
Here is Resources at res/values/integers.xml
The correct way to access an integer field is using @integer/input_field_padding
@integer/input_field_padding
In XML
In JAVA
R.integer.integer_name
Refer this http://developer.android.com/guide/topics/resources/more-resources.html#Integer .