转载地址:http://blog.csdn.net/chen195822080/article/details/40541811
[html] view plain copy
- <?xml version="1.0" encoding="utf-8"?>
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <!-- 连框颜色值 -->
- <item>
- <shape>
- <solid android:color="@color/lineColor" />
- </shape>
- </item>
- <!-- 主体背景颜色值 -->
- <item android:bottom="1px">
- <!--边框里面背景颜色 白色-->
- <shape>
- <solid android:color="@color/white" />
- </shape>
- </item>
- </layer-list>