Remove unused parameter. Also use the AttributeSet query methods instead of the Attribute query methods.