【发布时间】:2015-08-24 01:58:32
【问题描述】:
我正在尝试为带有笔划的Button 创建一个ripple 背景drawable。
这是我目前所拥有的:
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="#336699">
<item>
<shape android:shape="rectangle">
<solid android:color="#998811" />
<stroke
android:width="2dp"
android:color="#119988" />
</shape>
</item>
</ripple>
但使用此解决方案,波纹与我的笔划重叠。
我只想要笔划内的ripple,我该怎么做?
【问题讨论】: