1

I want to create a shape like this image.

enter image description here

I searched a lot for drawing on canvas with different shapes.

I didn't got anything on StackOverflow or Google.

Here is the link I referred

In this tutorial I got to know how to use the curves with canvas.quadTo();

Android How to draw a smooth line following your finger

How to draw a curve according to a control points list that has more than 3 points //here i got to know about canvas.cubicTo() method which will give curves from start point to end point with middle point.

I don't have any code to show, so, I need to start from scratch.

I need this to be created as ViewGroup, so that I can add 1 View to this ViewGroup. If I add another View into this ViewGroup then the background should look like this.

enter image description here

Doron Yakovlev Golani
  • 5,188
  • 9
  • 36
  • 60
Mohd Asif Ahmed
  • 1,880
  • 2
  • 15
  • 29

0 Answers0