Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Any way to remove tab indicator? #43

Closed
Hzawa opened this issue May 26, 2015 · 2 comments
Closed

Any way to remove tab indicator? #43

Hzawa opened this issue May 26, 2015 · 2 comments

Comments

@Hzawa
Copy link

Hzawa commented May 26, 2015

I'm using this library with dynamic content. Sometimes the dynamic content means I only have one list (one fragment in pager adapter).

When there's only one fragment, the tab indicators don't make sense, so I'd like to hide them.

When I try to hide the tabs, it looks fine until this happens (on scroll back up):

mvpproblem

Maybe can you add option app:viewpager_pagerTitleStrip="none" and programmatic option as well for when there's only one list? I know observableScrollView library supports this so it should be fairly possible. Maybe some math is hard-coded for animations though, which might make this a bit more than setting a certain layout visibility to just gone.

@AndreaBeggiato
Copy link

+1

@florent37
Copy link
Owner

hummm it's a huge work to remove the tabs...
I think it'll be easier to create a view without tabs and recreate the parallax effect, I send you a sample of application I made using this :
https://github.com/florent37/Potier

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

No branches or pull requests

3 participants