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 to add a margin or padding to the left of the first tab? #111

Closed
subodh-malgonde opened this issue May 20, 2015 · 2 comments
Closed
Labels

Comments

@subodh-malgonde
Copy link

I want to implement something like the below image. Notice the margin before the first tab starts:

image

I went through the source code and the only option available to change the margin before the first tab is to set pstsPaddingMiddle="true". However since this keeps all the selected tabs at the center, the first tab appears at the center. Is there any other way to set some margin before the first tab?

@jpardogo
Copy link
Owner

On the README:

android:paddingLeft or android:paddingRight layout padding. If you apply both, they should be balanced. PR #69 have a good explanation of this behaviour.

@subodh-malgonde
Copy link
Author

Thanks.

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

No branches or pull requests

2 participants