I want to create a tablayout like this:
As you can see, i have rounded corners for tab layout background. I tried following code:
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
<android.support.design.widget.TabLayout
android:id="@+id/tabs2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabIndicatorColor="#CECECF"
app:tabBackground="@drawable/tab_bar_bg"
app:tabMode="fixed"
app:tabGravity="fill"/>
And result:
Is there a way to achive this rounded corners with tablayout? If answer is yes then what is my roadmap?
Ps: Don't mind the icons or icon colors on screenshot.

