I want to create a layout similar to the image in my android app.I think i can apply the logical through the programming.But i don’t have much idea/knowledge on how to create a layout for the same.
Can someone please give some suggestion on how should i approach creating the layout.

First read about drawing shapes in Android.
Once you figured out how it works, you can define 2 shapes: one with blue background and a rounded black border, and another shape with transparent background and rounded gray border.
Then you set these shapes as background resourses to 2 RelativeLayout’s. The stars most probably you’ll need to have as jpg images.