在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);
  }

以上就是【ERROR/AndroidRuntime(17121)的问题解决】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)

与本文相关的软件

发表我的评论

最新评论

  1. 暂无评论