indexThe index of the attribute (zero-based).valueThe attribute's value.
TypeReasonJava.Lang.ArrayIndexOutOfBoundsExceptionWhen the supplied index does not point to an attribute in the list.
Set the value of a specific attribute.
[Android Documentation]