android-satellite-menu icon indicating copy to clipboard operation
android-satellite-menu copied to clipboard

Bottom right icon flickers

Open rfsbraz opened this issue 12 years ago • 3 comments

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?

rfsbraz avatar Sep 11 '12 10:09 rfsbraz

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

guille221191 avatar Apr 14 '13 13:04 guille221191

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

maheshchunkhade avatar Jun 03 '13 12:06 maheshchunkhade

@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

djhacktor avatar Jul 30 '13 05:07 djhacktor