-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clicking on a button which is close to another one causes animation to be played on both buttons #30
Comments
Happen with me too.
|
The problem isn't they are near. The problem comes with setPadding at onTouchEvent. You have both buttons at same LinearLayout and setting padding to one flatbutton moves the other one due to padding. This move effect seems like a click but isn't a real click, just your shadow is hidding because is moving out the linearlayout. You can "fix" it if you set this buttons in a RelativeLayout or inside a FrameLayout Hope it helps! |
Only happens if they both have shadow enabled and are close to each other
example code:
The text was updated successfully, but these errors were encountered: