0
我加入这个XML到我的绘图资源:图形处理错误
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
android:radius="2dp"
android:topRightRadius="0dp"
android:bottomRightRadius="0dp"
android:bottomLeftRadius="0dp" />
<stroke
android:width="1dp"
android:color="@android:color/white" />
</shape>
,所以我可以在布局文件夹在两个单独的XMLS添加背景到的LinearLayout和相对布局:
android:background="@drawable/custom_border"
虽然项目运行良好在错误日志中我不能在其访问任何文件,只是经常性的错误:
Unhandled loop exception org.eclipse.swt.SWTException.error: Graphis is disposed .....
我已经删除了上面的xml drawable文件,并且所有对它的引用和错误依然存在。 搜索这个错误我找不到太多,我甚至在以前的项目中有这个错误,我必须删除它并从头开始(我也在SO上发布了这个错误)。
任何人都可以阐明这个错误吗?
感谢 夏兰