1

i want to put a view over my android interface. this is the idea:

enter image description here

I´m using a shaoe, but can not find the way to create it, I need the transparent part to be the inside of the circle and everything around it is solid. I have searched both here and on other websites, but without success.

Thank you very much in advance

Sergio76
  • 3,835
  • 16
  • 61
  • 88
  • I'm not sure what you mean by shape, necessarily, but have a look here: http://stackoverflow.com/questions/22105775/imageview-in-circular-through-xml – Mike M. Feb 24 '17 at 07:53
  • This is not what I'm looking for, I want to use a listview under the circular view. – Sergio76 Feb 24 '17 at 07:55
  • easiest way is to take image – Manohar Feb 24 '17 at 07:55
  • I need to interact with the listview under the view – Sergio76 Feb 24 '17 at 07:56
  • 1
    Use the same drawable as one of the examples there, and set it on a `FrameLayout` over the `ListView`, but without the background image. Or, subclass `ListView`, and do a simple draw in the `dispatchDraw()` method, after the `super` call. Or, depending on your minimum API, you could add a similar drawable to the `ListView`'s `ViewGroupOverlay`, or set it as its foreground attribute. Several ways to do it. – Mike M. Feb 24 '17 at 08:03

0 Answers0