当使用自定义的控件时,XML中报了Error parsing XML: unbound prefix on library 的错,折腾了半天,终于发现,只需要在
root layout 下添加
xmlns:app="http://schemas.android.com/apk/res-auto"即可,参考:http://stackoverflow.com/questions/18871005/error-parsing-xml-unbound-prefix-on-library