No resource identifier found for attribute 'pstsIndicatorColor' in package
来源:互联网 发布:kktv 连接网络 编辑:程序博客网 时间:2024/05/10 03:17
今天在用一个UI开源框架PagerSlidingTabStrip的时候,当我在xml设置相关属性后报了以下错误:
No resource identifier found for attribute 'pstsIndicatorColor' in package xxx
我检查了下xml已经有添加包名的命名空间,可为什么还是会报错?后来网上查了相关资料。终于解决了。
解决方法:
在给布局文件添加命名空间后面的包名应该是AndroidManifest.xml文件中定义的package包名,而不是我使用的这个自定义控件所处的包的包名。
0 0
- No resource identifier found for attribute 'pstsIndicatorColor' in package
- no resource identifier found for attribute 'lable' in package 'android'
- No resource identifier found for attribute 'showAsAction' in package 'android'
- No resource identifier found for attribute 'showAsAction' in package 'android'
- error: No resource identifier found for attribute ‘backIcon’ in package
- No resource identifier found for attribute 'paddingEnd' in Package 'android'
- error: No resource identifier found for attribute ‘XXXXXX’ in package
- No resource identifier found for attribute 'parentActivityName' in package 'android'
- No resource identifier found for attribute X in package X
- error: No resource identifier found for attribute ‘backIcon’ in package
- error: No resource identifier found for attribute ‘footerColor’ in package
- No resource identifier found for attribute 'showAsAction' in package 'android'
- No resource identifier found for attribute 'showAsAction' in package
- No resource identifier found for attribute 'showAsAction' in package 'XXX'
- No resource identifier found for attribute 'ptr_duration_to_close' in package
- NavigationView: No resource identifier found for attribute '***' in package
- No resource identifier found for attribute 'roundIcon' in package
- No resource identifier found for attribute 'textAlignment' in package 'android',
- android控件的对齐方式(转)
- 字符统计
- Windows进程间各种通信方式浅谈
- 我对嵌入式软件的理解
- matlab遍历文件夹
- No resource identifier found for attribute 'pstsIndicatorColor' in package
- ios app第三方登录 token时效问题
- 网络爬虫:分离生产者和消费者来优化爬虫程序
- poj1125 所有(最短路中最大边的)最小边 bellman
- hibernate入门教程2增删查改
- 检查链表是否为回文
- 08月17日 星期一
- Beautifulsoup解析网页出现乱码(之前解析无问题,后来出现问题)lxml
- iOS之复制模式