@victor_2203, it's possible to add new keyboard layout (or change existing). Though, currently there is no step-by-step tutorial about doing it. Basic information could be found at
this thread.
UPD: forget this. Just switch to spanish keyboard and press and hold for some seconds buttons with characters without accents (i.e.
n,
a etc.). New upper row with accented characters will appear then.