Vinson武 2016-03-10 03:43 采纳率: 0%
浏览 1419
已结题

关于attrs.xml文件属性集问题

在res/values文件下创建attrs.xml文件

<?xml version="1.0" encoding="utf-8"?>
















在CircleImageView.java中
if (attrs != null) {
TypedArray array = getContext().obtainStyledAttributes(attrs,
R.styleable.CircleImageView);

。。。。。
报错 “styleable cannot be resolved or is not a field”请问怎么解决?谢谢!

  • 写回答

1条回答 默认 最新

  • Vinson武 2016-03-10 03:50
    关注

    补充:attrs.xml中
















    
    
    评论

报告相同问题?