get Integer Resource
Access a given int attribute by Android styleable resource index.
Parameters
index
The Android styleable index for the desired int attribute.
default Value
The default value to use when the index is invalid.