RiccardoMoro / RMSwitch

A simple and customizable two or three states Switch View
656 stars 81 forks source link

strange loop if in relative layout #7

Closed ksatalsin closed 7 years ago

ksatalsin commented 7 years ago

....android E/RMSwitch: Paddings ....android E/RMSwitch: Margins ....android E/RMSwitch: Paddings ....android E/RMSwitch: Margins ....android E/RMSwitch: Paddings ....android E/RMSwitch: Margins ....android E/RMSwitch: Paddings ....android E/RMSwitch: Margins ....android E/RMSwitch: Paddings ....android E/RMSwitch: Margins

RiccardoMoro commented 7 years ago

It's just logs or the view is actually hanging the UI with a loop? (BTW thanks, you made me notice that I forgot those two logs inside the Library.. my bad) Because in the sample itself I'm using the switches inside a RelativeLayout and they are not freezing the UI

RiccardoMoro commented 7 years ago

@ksatalsin I've removed the logs, as soon as you confirm that the UI do not freeze, I'll push the new version (1.2.2) Thanks

RiccardoMoro commented 7 years ago

I'll push and close this issue.. reopen it if you were having UI-freeze problems