Tag Archives: tutorial

Custom XML Attributes For Your Custom Android Widgets

In the last part of my Custom UI Tutorial, commenter Knut asked: Is there an easy way to declare the listener in XML (similar to the android:onClick=”onMyButtonClick” in the stock controls)? This is a great question, and in answering his question, I’ll go ahead and show you how to create other custom attributes you can […]

Android Bitmap Blending – Color Channels

I recently was doing some investigation into doing image blending in android, and came across the quite powerful built-in capabilities of Paint. I was wondering if it was possible to combine several grayscale images into a color image, using the grayscale images as the color channels. If you are familiar with Photoshop or other graphics-editing […]

© 2010 Kevin Dion