AnderWeb / android_packages_apps_Launcher

Android Launcher (almostNexus mod)
http://forum.xda-developers.com/showthread.php?t=645550
Other
321 stars 151 forks source link

DesktopIndicator display error #45

Closed leiyuanhua closed 13 years ago

leiyuanhua commented 13 years ago

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 commented 13 years ago

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 commented 13 years ago

Properly Closed by bb28ebdda843a7e88532b0f744248bcd78773be0

leiyuanhua commented 13 years ago

can you tell me the different between this two modify?

AnderWeb commented 13 years ago

Your solution breaks the indicator if autohide is set to true

leiyuanhua commented 13 years ago

thanks!