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

DesktopIndicator display error #45

Closed
leiyuanhua opened this issue Nov 18, 2010 · 5 comments
Closed

DesktopIndicator display error #45

leiyuanhua opened this issue Nov 18, 2010 · 5 comments

Comments

@leiyuanhua
Copy link

when you change the phone's screen orientation,For example:portrait to landscape,the portrait screen desktop indicator does not disappear, leading to landscape screen desktop indicator shows overlap.

@leiyuanhua
Copy link
Author

I fixed the error as follow:
DesktopIndicator.java->
public void hide() {
// TODO Auto-generated method stub
mIndicator.setVisibility(View.INVISIBLE);
setVisibility(View.INVISIBLE);
}

public void show() {
    // TODO Auto-generated method stub
    if(mVisibleTime<0){
        setVisibility(View.VISIBLE);
                    mIndicator.setVisibility(View.VISIBLE);
    }
}

@AnderWeb
Copy link
Owner

Properly Closed by bb28ebd

@leiyuanhua
Copy link
Author

can you tell me the different between this two modify?

@AnderWeb
Copy link
Owner

Your solution breaks the indicator if autohide is set to true

@leiyuanhua
Copy link
Author

thanks!

This issue was closed.
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