在button设置时加上以下属性: style="?android:attr/borderlessButtonStyle" 安卓5.0以上会自带按钮阴影效果,使用该样式可以去掉,该样式最低运行API:11。