Hitomis / CircleMenu

Delicate, chic and supports customizable circle menu
954 stars 141 forks source link

How to remove padding #2

Closed tellfa closed 8 years ago

tellfa commented 8 years ago

Hi, Thanks for this great library. I want remove padding, i set menu in this position :

        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"

but in this position show padding left and bottom! i want not padding in this menu, how can edit your CircleMenu.java for set padding=0 ?

Thanks ❤️

Hitomis commented 8 years ago

@tellfa Sorry! I have not set the padding, the spacing you see is because the menu closes the animation needed before leaving the spacing.

Please look closely at the rotating animation of the close menu.

tellfa commented 8 years ago

@Hitomis , thnx man. how can i close menu with onBackPress ? I write if(menu.isShown()){} but i can't find close method for menu. how can it?

Hitomis commented 8 years ago

I forgot to add the methods openMenu & closeMenu. thanks for you reminding~ now the code has been submitted. you can update the code and try the following code again:

open the CircleMenu

        circleMenu.openMenu();

close the CircleMenu

        circleMenu.closeMenu();
tellfa commented 8 years ago

@Hitomis, Thnx bro ❤️