问题
Button with background color when clicked ripple effect renders abnormally with a shaded or faded rectangular selection area in upper left corner only instaed of the whole button area.
VS 2017, Xamarin 4.10.10.2, Xamarin.Andriod SDK 8.3.3.2
回答1:
An issue has been opened related to this problem Android Buttons shows ripple effect only on the upper left area of the button on Samsung devices when changing/setting the buttons background color and it seems affecting Samsung devices running Android 8.0.0 and below only, meanwhile it is being solved by Xamarin team you can:
- Use Material Button which is not affected by this issue.
- Or try one of the workarounds mentioned by the community in the GitHub link I have provided.
来源:https://stackoverflow.com/questions/51710747/button-with-background-color-ripple-effect-renders-in-upper-left-corner-only