I need to use IPhone like segmented control in Android. Is there a default control for the same? What might be the best and efficient way to do so?
What you are looking for is MaterialButtonToggleGroup, and you can put in some Material Button. It is pretty similar to iOS UISegmentContorol.
It looks like this:
source with example: https://material.io/develop/android/components/buttons#toggle-button