在我的页面中包含很多layout
s,我想为每个画一个角,layout
所以我尝试:
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffff"/>
<corners android:radius="5px"/>
<stroke android:width="2dip" android:color="#ababab"/>
<padding android:left="0dp"
android:top="0dp"
android:right="0dp"
android:bottom="0dp" />
</shape>
所以颜色shape
是白色的,但我想要的只是一个border
并background
像默认值一样使用。
如何设置?