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

Bottom right icon flickers #5

Open
rfsbraz opened this issue Sep 11, 2012 · 3 comments
Open

Bottom right icon flickers #5

rfsbraz opened this issue Sep 11, 2012 · 3 comments

Comments

@rfsbraz
Copy link

rfsbraz commented Sep 11, 2012

When I open the SatelitteMenu the second icon from the right bottom corner flickers and causes a weird effect, this does not happens if I close and open the menu several times after, but will happen again if I leave my activity and recreate the SatelitteMenu.

Is there any known fix?

@guille221191
Copy link

I have experienced the same issue on my Galaxy Nexus, 4.2.2 (JDQ39). Any ideas? Thanks.

@maheshchunkhade
Copy link

I am also facing same problem @siyamed can you fix this problem

@djhacktor
Copy link

@maheshchunkhade @guille221191 the problem is with

protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
    super.onMeasure(widthMeasureSpec, heightMeasureSpec);
    recalculateMeasureDiff();

    int totalHeight = imgMain.getHeight() + satelliteDistance + measureDiff;
    int totalWidth = imgMain.getWidth() + satelliteDistance + measureDiff;
    setMeasuredDimension(totalWidth, totalHeight);
}

set the totalHeight fixed rather than changing with 'measureDiff' variable flick will go off

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

4 participants