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

DrawerArrowToggle , how ? #17

Open
Elsobkey opened this issue Feb 8, 2016 · 1 comment
Open

DrawerArrowToggle , how ? #17

Elsobkey opened this issue Feb 8, 2016 · 1 comment

Comments

@Elsobkey
Copy link

Elsobkey commented Feb 8, 2016

Thanks for your useful effort ,
but i was not able to use your ActionBarRTLizer with actionbarDrawer Toggle
Iadded ActionBarRTLizer to the project to make the toggle icon at the right of the actionbar
and it worked fine ,
but the problem appeared when i tried to open or close the drawer menu the order of items in the toolbar reflected ... any help please ?

this is my code + adding ActionBarRTLizer to it 👍
https://gist.github.com/importre/a04f53608285eb8087e6

@shemekhe
Copy link

hi, it's just because you call supportInvalidateOptionsMenu(), when you call this method, the onCreateOptionsMenu excute again, and it's make Toolbar (or Actionbar) right to left again, thus it's become LTR again. i solve this problem with not calling supportinvalidateOptionMenu(), but if you want RTL with this supportinvalidate... method, you have to wright a check for excuting RTL only one time.

sorry for bad eng (it's not my first language)

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

3 participants