Skip to content

how can i set the background color of selected tab? #132

Open

Description

@rkkalkii
No description provided.

Activity

  1. haroon47 commented on Oct 23, 2019

    @haroon47

    I also want to know

  2. BhoomiKhan commented on Nov 2, 2019

    @BhoomiKhan

    i am stuck on this point, i want to change the active background color of the tab but not finding a way to do. Anyone can tell me the solution?

  3. BhoomiKhan commented on Nov 2, 2019

    @BhoomiKhan

    Finally i found a way to change the background color of the selected tab by using static method of class Color.

    Color.parseColor("#dd2a2a")

    Example
    models.add(
    new NavigationTabBar.Model.Builder(
    getResources().getDrawable(R.drawable.tab2_categories),
    Color.parseColor("#dd2a2a")
    ).title("CATEGORIES")
    .build()
    );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions