无数次用到了,为了以后方便使用,贴在这里吧
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:topLeftRadius="20dip"
android:topRightRadius="20dip"
android:bottomRightRadius="20dip"
android:bottomLeftRadius="20dip" />
<solid android:color="@color/white"/>
</shape>
本文分享了一个常用的XML形状定义代码片段,用于定义具有圆角和白色填充的矩形,适用于Android应用开发中的UI设计。

1792

被折叠的 条评论
为什么被折叠?



