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

how to create material 3? #52

Closed
re-LIFE opened this issue Jun 2, 2018 · 7 comments
Closed

how to create material 3? #52

re-LIFE opened this issue Jun 2, 2018 · 7 comments

Comments

@re-LIFE
Copy link

re-LIFE commented Jun 2, 2018

how to create material image 3 ???

@re-LIFE
Copy link
Author

re-LIFE commented Jun 2, 2018

image

@tyzlmjj
Copy link
Owner

tyzlmjj commented Jun 2, 2018

...
pageBottomTabLayout.material()
                ...
                .setMode(MaterialMode.CHANGE_BACKGROUND_COLOR)
                .build();

@re-LIFE
Copy link
Author

re-LIFE commented Jun 2, 2018

Thanks for the answer ,, i have more question, i have 3fragment how to implement it for bottombar? Im still confused , it different between tablayout(normal)

@tyzlmjj
Copy link
Owner

tyzlmjj commented Jun 3, 2018

NavigationController navigationController = tab.material()
        ...
        .build();

// use ViewPager
navigationController.setupWithViewPager(viewPager);

// or add listener
navigationController.addTabItemSelectedListener(new OnTabItemSelectedListener() {
            @Override
            public void onSelected(int index, int old) {
            }
            @Override
            public void onRepeat(int index) {
            }
        });

@re-LIFE
Copy link
Author

re-LIFE commented Jun 3, 2018

thankyou verymuch..

@re-LIFE
Copy link
Author

re-LIFE commented Jun 3, 2018

how to add action menu and navdrawer in bottombar ?? can you give me link ?? i will search in gogle

@tyzlmjj
Copy link
Owner

tyzlmjj commented Jun 3, 2018

Don't understand what you mean.
You can see my demo
https://github.com/tyzlmjj/PagerBottomTabStrip/tree/master/app

@tyzlmjj tyzlmjj closed this as completed Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants