<?xml version="1.0" encoding="UTF-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 边框颜色值 --><item>
<shape>
<solid android:color="@color/colorAccent" />
</shape>
</item>
<!-- 主体背景颜色值 -->
android button设置边框背景颜色
最新推荐文章于 2024-07-22 14:21:24 发布
这篇博客介绍了如何在Android中为Button设置边框背景颜色,内容包括使用shape资源文件来定义圆角矩形或其他形状,适用于TextView等View。
摘要由CSDN通过智能技术生成