使用自定义View时遇到的错误
摘要:
在layout文件中使用自定义的View时遇到如下错误:12-11 17:28:26.962: ERROR/AndroidRuntime(17121): android.view.InflateException: Binary XML file line #6: Error inflating class fish.apps.ipcall.controls.ColorableTextView这是因为没有重载View的构造函数public ColorableTextView(Context context, AttributeSet attrs) {super(context, attrs); 阅读全文
posted @ 2010-12-12 01:40 剧终 阅读(387) 评论(1) 推荐(0)
浙公网安备 33010602011771号