我正在为我的布局添加边界,但不允许我定义白色或黑色以外的颜色。奇怪的!这是资源文件夹中boundary.xml的代码片段。无法在笔画对象中使用白色或黑色以外的颜色
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<stroke
android:width="2dip"
android:color="@android:color/white" />
</shape>