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

Customized timeline tabs #501

Open
yvolk opened this issue Jan 20, 2019 · 0 comments
Open

Customized timeline tabs #501

yvolk opened this issue Jan 20, 2019 · 0 comments

Comments

@yvolk
Copy link
Member

yvolk commented Jan 20, 2019

Give users an option to switch from standard Android's Action Bar to customized timeline tabs.

We had similar topic some years ago "Use tabs instead of buttons" #113. That time we removed buttons from the old fashioned (for that time :-) ) Action Bar and replaced them with controls on the Navigation Drawer. Action bar became an ordinary action bar: with a Title, Subtitle, Action buttons and the "overflow button" (three vertical dots), containing actions that didn't fit on the Action Bar.
Some Android apps (e.g. GMail app) still have this layout, but for easy switching between small number of main options (timelines) some apps add tabs below the Action Bar or even replace the Action bar with tabs completely.

  1. I understand that timeline tabs cannot replace timeline selection from a list simply because AndStatus may have hundreds of timelines (see "Manage Timelines" in the menu), but for the simplest use cases we need to give alternatives to a User:
    1.1. An Action bar with a Title/Subtitle and action buttons or
    1.2. Timeline tabs or
    1.3. An Action bar + Timeline tabs below it.

  2. In addition, we will add "Post" FAB (floating action button) as an option, to create a new note.

  3. An Action bar / Tabs / FABs will be collapsible, i.e. they will be hidden when a timeline is scrolled down. This behaviour is provided out of the box by the Android Coordinator Layout ( see e.g. http://saulmm.github.io/mastering-coordinator )

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

No branches or pull requests

1 participant