Clans / FloatingActionButton

Android Floating Action Button based on Material Design specification
Apache License 2.0
5.22k stars 1.13k forks source link

How to change Label position (left/right) and menu buttons popup (Up/Down) dynamically #406

Open praveenb opened 7 years ago

praveenb commented 7 years ago

Hi, Thank you so much for wonderful library.

How to change Label position to (lef/right) dynamically. and how to change the menu buttons popup orientation (Up/Down) dynamically.

Please let me know. Thank you.

ayhansalami commented 6 years ago

+++

ayhansalami commented 6 years ago

I finally found a solution. You can create a different layout in the layout-ldrtl folder for the RTL direction and then set the menu_labels_position according to the layout folder.

sacdulanga commented 5 years ago

@ayhansalami Can you please give sample code or any explanation about this