Android, drawables and paddings
I learned one important thing today: When you do layout from code and you use drawables (nine-patches or xml-defined drawables), always using setPadding only after setBackground. I know, this might be a childish thing that Android developers already know about, but it made me bang my head around the walls for 15 minutes today Explanation: [...]