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

add the possibility to completly disable the viewpager-toolbar #108

Merged
merged 2 commits into from
Jul 28, 2015

Conversation

svennergr
Copy link
Contributor

Background: I use the viewpager as a single-fragment within a AppCompatActivity. In this activity there is already an ActionBar with a toolbar defined.
I needed to completely disable/hide the toolbar offered with the viewpager.

Usage: Just set attribute app:viewpager_disableToolbar="true" to the viewpager-xml. Default value is, for sure, false.

Hint: there might be some problems if app:viewpager_hideLogoWithFade and app:viewpager_hideToolbarAndTitle are set to false. Better set them to true.

@florent37
Copy link
Owner

thanks, I add it 👍

@florent37 florent37 closed this Jul 28, 2015
@florent37 florent37 reopened this Jul 28, 2015
florent37 added a commit that referenced this pull request Jul 28, 2015
add the possibility to completly disable the viewpager-toolbar
@florent37 florent37 merged commit 1f12466 into florent37:master Jul 28, 2015
@IlyaEremin
Copy link

When app:viewpager_hideToolbarAndTitle is set to true and I disable toolbar then on scroll down I observe following behavior:
observed_behaviour
I want:

  1. Disable toolbar
  2. Have correct sticky tabs (without space on top while scroll down)
    Any suggestion?

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

Successfully merging this pull request may close these issues.

None yet

3 participants