Android Question Suggestions Please: Sliding Tab Strip

andrewj

Active Member
Licensed User
Longtime User
Hi,

I'm thinking of creating a "sliding tab strip" similar to that in Chrome for Android. This would allow the appearance of tabs stacking over or under each other, and being progressively exposed by the user directly sliding them. Is there an example or library which will give me a good start?

I've looked at the standard sliding panels demo, but it doesn't really allow the user to slide the panels smoothly enough by direct interaction. I have also considered the alternative approach with a horizontal scroll view which is promising but will need a lot of code to continually "shuffle" the inactive panels.

Any ideas?
Thanks
Andrew
 

andrewj

Active Member
Licensed User
Longtime User
Thanks Erel. That's not really what I'm looking for: I'm happy with the overall behaviour of my content, but I want to add a thin "tab strip" within which controls can slide relative to (and over) one another. Is there anything like that?

Andrew
 
Upvote 0

andrewj

Active Member
Licensed User
Longtime User
Hi Erel,
If I want to start developing my own view library for this, is there a recommended template/example with all the standard methods, events etc.?
Thanks
Andrew
 
Upvote 0

andrewj

Active Member
Licensed User
Longtime User
As requested by Manish Patel, here's the code of a library I created to do this. It's slightly crude and I don't have time to refine it and formally release it as a library at the moment, but it may help develop ideas in this space
Andrew
 

Attachments

  • SlidingTabStrip.zip
    54.3 KB · Views: 344
Upvote 0
Top