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

Support ActionBarDrawerToggle with DrawerArrowDrawable. #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

artetrad
Copy link

Hi! Great library we are using it for a few months.

We wanted to be able to put a badge in the nav drawer's toggle using the support library's setDrawerArrowDrawable() on the ActionBarDrawerToggle class. This was something not possible since the ActionBarDrawerToggle is constructed internally in the SlidingRootNavLayout class.

So based on the following stack overflow post I added the functionality to the SlidingRootNav interface:

BadgeDrawerToggle getBadgeDrawerToggle();

https://stackoverflow.com/questions/43881131/android-how-to-add-badge-counter-to-hamburger-navigation-menu-icon/43886113#43886113

@artetrad
Copy link
Author

artetrad commented Oct 4, 2017

screenshot_2017-10-04-11-57-10-449_com yarolegovich slidingrootnav sample

@artetrad
Copy link
Author

artetrad commented Apr 2, 2018

@yarolegovich Hi! Would you be interested in reviewing the PR? Thanks in advance!

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

Successfully merging this pull request may close these issues.

None yet

1 participant