Open debtaru opened 12 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
please as I can put in the top right corner, but the main icon is positioned satellites stay bad
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.
please mail me the code if u have the solution. grover.grover11@gmail.com
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?