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

Issue with right bottom corner

Open debtaru opened this issue 12 years ago • 4 comments

Hi Siyamed, Nice code implemented. Could you please tell me how to align the menu at the right bottom corner of the screen? I tried changing the android:layout_gravity="bottom|right" but that didn't help. Also how to move the images on a fling?

debtaru avatar May 21 '12 12:05 debtaru

small change in addition , what you have till now,

public static int getTranslateX(float degree, int distance){ return Double.valueOf(-1 * distance * Math.cos(Math.toRadians(degree))).intValue(); }

public static int getTranslateY(float degree, int distance){
    return Double.valueOf(distance * Math.sin(Math.toRadians(degree))).intValue();
}

replace this method in SatelliteAnimationCreator class

maheshchunkhade avatar Jun 03 '13 12:06 maheshchunkhade

please as I can put in the top right corner, but the main icon is positioned satellites stay bad

mfzagal avatar Jun 19 '13 04:06 mfzagal

I have worked with this concept but still menu item is not stable at the right downward position.Please let me know the solution to place it in the right corner and menu item expanding downward.

nakul11 avatar Dec 19 '13 07:12 nakul11

please mail me the code if u have the solution. [email protected]

nakul11 avatar Dec 19 '13 07:12 nakul11