I need to clip a semi circle at top center of the ImageView like in the cd cover below
As I didn't worked on canvas in Android,I have no idea to achieve this!
You could use the following approach:
1) Create a Relative layout with 2 elements: - A semi Circle shape - You image
2) Align the semi circle on the image view 3) Make Your linear layout as a custom view (optional) else directly use it
Copyright © 2021 Jogjafile Inc.
You could use the following approach:
1) Create a Relative layout with 2 elements:
- A semi Circle shape
- You image
2) Align the semi circle on the image view
3) Make Your linear layout as a custom view (optional) else directly use it