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

How to take menu on right side of screen

Open sachinsandbhor opened this issue 11 years ago • 6 comments

i want to shift menu on right side but when i put it on right side menu open as regular. how to invert the view, i want to create opposite side view.

sachinsandbhor avatar Dec 24 '13 07:12 sachinsandbhor

Simply do something like:

  • layout: android:layout_gravity="bottom|right"
  • code: satelliteMenu.setRotation(270);

shkschneider avatar Jan 20 '14 16:01 shkschneider

android.os.Build.VERSION.SDK_INT < 9 satelliteMenu.setRotation(270) error

wolf0931 avatar Apr 16 '14 05:04 wolf0931

hi shkschneider, im looking at your satellite menu making it as a context menu using popupwindow rather than placing this inside a layout

what possible changes need to be modified?

chitgoks avatar Aug 28 '14 10:08 chitgoks

@shkschneider thanks buddy... i was finding this a long... it is working charm,,,,

GovindRathod avatar Sep 03 '14 14:09 GovindRathod

i did what @shkschneider told, but the icons stay in wrong orientation.

screenshot 2014-12-21 18 30 25

any solution for that?

Thanks in advance

leonardoliv avatar Dec 21 '14 21:12 leonardoliv

https://github.com/MushahidK/android-satellite-menu-with-left-right-options try this

MushahidK avatar Apr 04 '15 20:04 MushahidK