【发布时间】:2011-11-22 08:41:06
【问题描述】:
我一直在努力在 android 3.2 上设置文本大小和颜色的样式。尝试使用
覆盖默认样式时<item name="android:numberPickerInputTextStyle">@style/numberPickerInputText</item>
我总是收到这个错误:
error: Error: No resource found that matches the given name: attr 'android:numberPickerInputTextStyle'.
为什么会这样?我很确定我选择了正确的样式来覆盖(从平台 13 API 文件夹中挖出来)
我看了这些地方..好像没办法了!
http://code.google.com/p/android/issues/detail?id=18659#c8
下面的这篇博客谈到了将样式导入我的应用程序。应该怎么做?例子?
http://daniel-codes.blogspot.com/2011/08/new-to-android-more-style-restrictions.html
有人可以指点我正确的方向吗?谢谢!
【问题讨论】:
标签: android