how to add buttons to the canvas?

hii friends,i have to make a paint app in adnroid.i need to put the color buttons on top of canvas and brush sizes at the bottom of the canvas,but i am unable to put them.plz help me to put the buttons on canvas thanking you
if psbl,give some sample code