How do I use a ClipDrawable?

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 2

Apr 6, 2016 1:02:32 AM via Website

I have looked fairly extensively online and cannot figure out how it works, the tutorials are very sparse. Essentially I have an image of a DVD cover and I want to display the top half of the image at the top of my view. I have a simple ImageView which displays the whole image but I was wondering how I could display only half and came across ClipDrawable but cannot figure it out.

I cannot modify the image because I have 800 covers to show depending on which you select from a list. Thanks.