Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ASPOOK/IndicatorTabBar

Open more actions menu

Repository files navigation

IndicatorTabBar for Android

How to use

If you want use this view, the operation is as follows:

Because the IndicatorTabBar has custom attributes, if you want use them, you must add your own namespace in your xml file in the first component:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:widgets="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

</LinearLayout>

Then, add it into your layout file, to use the IndicatorTabBar:

 <com.andy.widgets.IndicatorTabBar
        android:id="@+id/tab_indicator"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:background="@color/bg_color"
        widgets:tab_text_color="@color/tab_text_color"
        widgets:tab_text_selected_color="@color/tab_text_selected_color"
        widgets:tab_text_size="18sp" />

##Demo image

About

IndicatorTabBar is a TabBar you can slide and select it, it always used with ViewPager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.