Key
Create an empty key with no attributes.
Create a key with the given top-left coordinate and extract its attributes from the XML parser.
Parameters
res
resources associated with the caller's context
parent
the row that this key belongs to. The row must already be attached to a Keyboard.
x
the x coordinate of the top-left
y
the y coordinate of the top-left
parser
the XML parser containing the attributes for this key