Change drawing row in my sprite sheets

view story

http://stackoverflow.com – I'm trying to develop my first Android app with animation using sprite sheets. I've followed this tutorial (http://obviam.net/index.php/sprite-animation-with-android/). Instead of using Elain_walk, i'm using guybrush's actions (https://www.dropbox.com/s/923fkvinkqi64r7/guybrush3.png) but I'm not understanding how to use a multi-row sprite sheets. Additionally I changed 'spriteWidth' in ElaineAnimated.java from: spriteWidth = bitmap.getWidth() / frameCount to spriteWidth = bitmap.getWidth() / frameCount - 21; in order to fix guybrush stable in the screen...but it's a really bad workaroun (HowTos)