How to create a secondary tab


#1

I’ve created a tab page following the site:http://ionicframework.com/docs/angularjs/controllers/view-state/
Now i wanna make a tab in a secondary level, but it doesn’t work in the same way.How can i work it out


#2

Can you explain that in a little more detail? I’m not grokking “wanna make a tab in a secondary level”. Can you sketch out the layout and upload a photo?


#3

something like this sorry that i can’t explain it very well. Now i can tab between home view and about view, but in home view, i can’t tab between sec-tab-a and sec-tab-b.would u mind telling me how 2 work it out? Thx a lot !


#4

Hm… I tried dabbling with it and couldn’t even get as far as you did.

My sample : http://codepen.io/calendee/pen/GueEz

The “Contacts” tab should contain nested tabs but they don’t work well either. Can you share you code?


#5

My code: http://codepen.io/mjhlybmwq/pen/BkoLf
I just give up the ion-tabs and use

but the layout is quiet a big problem now…

#6

I think you got it pretty well there. I modified the padding a bit. Layout looks better. What do you think?