Button with background color, ripple effect renders in upper left corner only

社会主义新天地 提交于 2021-01-24 08:19:38

问题


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:

  1. Use Material Button which is not affected by this issue.
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!