ckurtm / FabButton

Android Floating ActionButton with a progress indicator ring
774 stars 152 forks source link

Progress is next to button #24

Closed antonshkurenko closed 8 years ago

antonshkurenko commented 8 years ago

I tried to add this button programmatically, and this caused a bug. It separates progress from the button on the layout, when I start to change progress.

Here is old fab, and on the center here is Progress Fab. device-2016-02-16-171824

ckurtm commented 8 years ago

can you share your layout file. I cant make out how that would happen just by looking at the image.

antonshkurenko commented 8 years ago

In my layout file there is only empty Relative layout. I add everything programmatically. Anchors were:

Center vertical and below that black square

ckurtm commented 8 years ago

Its hard to tell what the issue is without knowing enough about how u add the button programatically in your layout. I cant help u based on just that . It would really help if I could also produce the same issue.