<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!--边框颜色-->
<item>
<shape>
<solid android:color="@color/border_line" />
</shape>
</item>
<!-- 想保留哪一边就设置哪一边边框,列如只有下边框:bottom="0.5dp",相应的有上top="",left="",right="" -->
<!--整个框背景颜色-->
<item android:bottom="0.5dp">
<shape>
<solid android:color="@color/white" />
</shape>
</item>
</layer-list>