嗨,我有应用程序按钮和I设置按钮样式从形状,但是当我使用的图像Android的按钮图像半径
android:src="@drawable/button_background" />
我有半径
http://i39.tinypic.com/33vm3gh.png
我SHEP文件
问题<item android:state_pressed="false">
<layer-list>
<item>
<bitmap
android:src="@drawable/button_background" />
</item>
<item>
<shape>
<gradien
android:angle="90"
/>
<solid
android:color="#eeeeee"
/>
<corners
android:topRightRadius="0dip"
android:topLeftRadius="0dip"
android:bottomLeftRadius="5dip"
android:bottomRightRadius="5dip"
/>
<stroke
android:width="1px"
android:color="#b7b7b7"
/>
</shape>
</item>
</layer-list>
</shape>
我要像CSS背景图像:网址( '...')边界半径:5像素;但如何适应android应用程序? – Vykintas