before ndk
custom view examples