Some piece of code for Android custom views etc.