I have the following custom view:
This I have achieved by using the Canvas\' drawArc
drawArc
You can paint over the inner area using the PorterDuff xfermode called "Clear." This will erase pixels.