Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How did he do that #123

Open
Gasem1 opened this issue Sep 23, 2021 · 1 comment
Open

How did he do that #123

Gasem1 opened this issue Sep 23, 2021 · 1 comment

Comments

@Gasem1
Copy link

Gasem1 commented Sep 23, 2021

How does he do it when moving How does the orange color change
Look this👇
https://user-images.githubusercontent.com/88975289/134436606-218ed4b6-3cd6-41cc-b344-67a6c78dff6f.mp4

@AyahHameedat
Copy link

you can do it like this in your tab layout widget

<android.support.design.widget.TabLayout

app:tabBackground="@drawable/selector"

/>

and define your selector.xml in drawable folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants