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

Problem with badges in fragment #10

Closed
venkataramanab opened this issue Mar 4, 2017 · 5 comments
Closed

Problem with badges in fragment #10

venkataramanab opened this issue Mar 4, 2017 · 5 comments

Comments

@venkataramanab
Copy link

venkataramanab commented Mar 4, 2017

it looks like this and I'm figured that action bar height is returning 0.
device-2017-03-04-131340

@ittianyu
Copy link
Owner

ittianyu commented Mar 4, 2017

You could see the demo. The position need calculate.

@venkataramanab
Copy link
Author

I saw the same, but actionBarHeight = actionBar.getHeight(); returns zero.

@ittianyu
Copy link
Owner

ittianyu commented Mar 4, 2017

That may be the view haven't load. So you need run it in view.post(runnable).

@venkataramanab
Copy link
Author

Yeah!! this worked. Thanks.

@ittianyu
Copy link
Owner

ittianyu commented Mar 4, 2017

You are welcome.

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