Working out NinePatches, TableLayout, etc.