myinnos/SlidingTabWithColorIcons

No tab line

Opened this issue · 3 comments

Hello!
How could i remove the tab line from a tab and let only the icon and text?
I have tried put tab color "@android:color/transparent" but it only put tab line black. Any idea?
Regards

Hello @youngsdeveloper,

Current version of this lib doesn't have hiding option for tab line.

please use same color of background for tab line. Soon ll release new versions with above feature.

Thanks

Hi, while talking about "tab", my tab border is dash but I want to make solid. I'll be glad, if you help me.

Remove Tab Line Below Code:
It Working Below.

<in.myinnos.customimagetablayout.ChangeColorTab
android:id="@+id/tabChangeColorTab"
android:layout_width="match_parent"
android:layout_below="@+id/statusbar"
android:padding="10dp"
android:backgroundTint="@android:color/transparent"
android:layout_height="46dp">

        <in.myinnos.customimagetablayout.ChangeColorItem
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:padding="0dp"
            tab:item_icon="@drawable/home"
            tab:item_icon_color="@color/white"
            tab:item_tab_color="@color/white"
            tab:item_tab_position="bottom"
            android:backgroundTint="@android:color/transparent"/>

        <in.myinnos.customimagetablayout.ChangeColorItem
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:padding="0dp"
            tab:item_icon="@drawable/shared"
            tab:item_icon_color="@color/white"
            tab:item_tab_color="@color/white"
            tab:item_tab_position="bottom"
            android:backgroundTint="@android:color/transparent"/>

        <in.myinnos.customimagetablayout.ChangeColorItem
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:padding="0dp"
            tab:item_icon="@drawable/sharedfileget"
            tab:item_icon_color="@color/white"
            tab:item_tab_color="@color/white"
            tab:item_tab_position="bottom"
            android:backgroundTint="@android:color/transparent"/>

        <in.myinnos.customimagetablayout.ChangeColorItem
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:padding="0dp"
            tab:item_icon="@drawable/more"
            tab:item_icon_color="@color/white"
            tab:item_tab_color="@color/white"
            tab:item_tab_position="bottom"
            android:backgroundTint="@android:color/transparent"/>

    </in.myinnos.customimagetablayout.ChangeColorTab>