siyamed / android-satellite-menu

Android Satellite Menu
1.4k stars 644 forks source link

Issue with right bottom corner #3

Open debtaru opened 12 years ago

debtaru commented 12 years ago

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?

maheshchunkhade commented 11 years ago

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

mfzagal commented 11 years ago

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

nakul11 commented 10 years ago

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

please mail me the code if u have the solution. grover.grover11@gmail.com