1

I need to make a tab section in my app, it will only have two tabs. Exploring several solutions from other applications, I came with this (among others):

enter image description here

However, it seems to be more of an iOS design, would you discourage this type of tabs on Android from a consistency perspective?

0

If you added your app name in the header with the help and add icons, those two tabs could move down and become 'traditional' tabs.

A segment bar control also might be an option to solve this. See: https://ionicframework.com/docs/api/segment

The basic question is do you want your navigation to match across platforms OR follow what the platform does?

  • The application will be developed only for Android, I made a quick demo of what you suggested. The thing is that I would like to keep the top bar as the background of the first card, and this way I do not know if it's okay, because the tabs are not explicitly limited. Link to demo – Nicolás Vera Apr 3 at 21:48
0

Don't try to put tabs in the ActionBar, it won't work out well (there isn't much room). You could simply put a typical Tab Bar under the ActionBar, or even remove the ActionBar and just have a Tab Bar at the topmost part of screen (depending on where this screen fits into the greater app lifecycle, that may be suitable).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.