Button透明后去掉边框的阴影 <!-- android:background="@color/transparent" (只写这个的话,边框会有阴影) 去掉边框的一些阴影 style="?attr/borderlessButtonStyle" 可能有些系统没有这个属性,所以可能找不到,所以加上上面的透明色 --> <Button style="?attr/borderlessButtonStyle" android:background="@color/transparent" />