Bunny ear tickets (Taken with instagram)

Bunny ear tickets (Taken with instagram)

Just sone floor action (Taken with instagram)

Just sone floor action (Taken with instagram)

Helping Perch Out

I just ‘finished’ building my first site using Perch which is a great little CMS. I did have a couple of usability issues with editing long lists of items so I whipped up a JS file that can be included as a perch plugin to help out.

The files from the perch usability plugin gist should show up below.

ScrollView vs EditText: FIGHT!

I had a ScrollView wrapping an EditText in an application I was writing because I wanted the fling behavior ScrollView provided. EditText on it’s own simply stopped moving when the user lifted a finger from the display and it felt awkward. However, when I had a lot of text in the EditView, enough that the fling mattered, things would jump all over the place. I spent hours trying to figure out which touch event or MotionEvent I needed to catch and stop from propagating and under what circumstances. Nothing seemed to do the trick.

After sleeping on this bug for the third night I was looking through the source of the EditText class hierarchy (I’m soooo glad this OS is open source) and I found requestRectangleOnScreen. It turns out whenever I tapped the screen this guy was getting called and causing the ScrollView to jump all over the place, most frequently to where the cursor last was. So I created a custom EditText extension and overrode the method. The full source is below:

Is the End of Privacy the End of Shame?