title: Add rounded corners to custom view
body: <p>I'm quite new to Android and i'm trying to draw on a custom view (with canvas). I've got some lines &amp; rects there. The point is, that i now want to give the whole view rounded corners, but that doesn't work well, as i'm drawing on the view and my drawings are above the rounded corners, which were added through the ressources. Is there a possibility to add rounded corners, that cover the whole view?</p>
  
  <p>Best regards and thank's for any help!</p>