2016-04-21 Pen up and down, reloaded

OK, so today a short post, since it’s quite late here.

I thought that making a single button for toggling the pen state (up/down) would be simple. Nothing like that.

Here’s the question: if the text on the button says “on”, soes it mean that it is turned on, or that pressing it will turn it on?

I thought that someone must have had this problem, so I googled toggle button state, and I was not disappointed: this absolutely fascinating UX.SE page was the fourth hit.

So I followed the advice given there and I made a switch. Too bad you can’t put drawings on an Android switch widget. Never mind, ImageView to the rescue. It doesn’t actually work yet, but it looks quite nice:


CategoryEnglish, CategoryBlog, CategoryMakeYourselfKnown