码迷,mamicode.com
首页 >  
搜索关键字:appcompat    ( 405个结果
Android学习十:appcompat_v7相关
error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind首先把android-support-v7-appcompat 导入EclipseFile->Imp...
分类:移动开发   时间:2015-05-08 01:39:53    阅读次数:125
MaterialEverywhere
Showcase of the new AppCompat 21, which includes new Material Theme, working in pre-21 devices.地址:https://github.com/antoniolg/MaterialEverywhere
分类:其他好文   时间:2015-04-29 19:42:45    阅读次数:179
Android5.0新特性——兼容性(support)
兼容性虽然Material Design新增了许多新特性,但是并不是所有新内容对对下保持了兼容。使用v7包v7 support libraries r21 及更高版本包含了以下Material Design特性:使用Theme.AppCompat主题包含调色板主体属性,可以对应用的主题做统一的配色,...
分类:移动开发   时间:2015-04-29 13:30:12    阅读次数:182
【Android记录】AppCompat does not support the current
最新的Surpport里面的主题检查好像更严格了。以前使用 ActionBarActivity + Toolbar 的时候,我是这么定义的 升级之后就出问题了。应该使用 其实最好的方法还是,不管在哪里,都使用sdk预置的主题: 其他问题类似...
分类:移动开发   时间:2015-04-28 14:19:04    阅读次数:147
关于新建android项目时 appcompat_v7报错问题的一点总结
说下我的解决方案:1.确保 appcompat项目的 target版本 低于 实际项目的android版本2.确保 appcompat的项目编码与eclipse工具的编码一致,我就是犯了这个错误,导致引用appcompat总是失败。。。我的eclipse环境是utf-8编码, 但是 appcompa...
分类:移动开发   时间:2015-04-22 23:55:44    阅读次数:302
关于新版ADT创建项目时出现appcompat_v7的问题
做Android开发的朋友最近会发现,更新ADT至22.6.0版本之后,创建新的安装项目,会出现appcompat_v7的内容。并且是创建一个新的内容就会出现。这到底是怎么回事呢?原来appcompat_v7是Google自己的一个兼容包,就是一个支持库,能让2.1以上全使用上4.0版本的界面。下面...
分类:移动开发   时间:2015-04-17 22:09:41    阅读次数:145
You need to use a Theme.AppCompat theme (or descendant) with this activity解决方法
报错如下: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. 解决方法: 创建的activity是MainActivity extends ActionBarActivity这样的。把后面的ActionBarActivity改...
分类:移动开发   时间:2015-04-15 17:04:38    阅读次数:153
有关android.support.v7.app.ActionBarActivity错误的问题
1 有关android.support.v7.app.ActionBarActivity错误的问题 (1)导入appcompat_v7的项目,设置 Properties->Android->勾选 Is library (2)在出现错误的工程 设置 Properties->Android->add->...
分类:移动开发   时间:2015-04-13 20:52:25    阅读次数:122
You need to use a Theme.AppCompat theme (or descendant) with this activity
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test2/com.example.test2.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or desce...
分类:移动开发   时间:2015-04-12 17:51:58    阅读次数:412
android.support.v7.widget.Toolbar找不到
今天下了个demo,打开找不到android.support.v7.widget.Toolbar 明明已经引用了appcompat_v7了?并且出现了ActionBarActivity cannot be resolved to a type错误? 解决:确保导入最新的appcompat_v7库,导入后该库可能出现xml文件错误,不要着急,把该库的android sdk版本改为5.0以上即可...
分类:移动开发   时间:2015-04-09 11:56:33    阅读次数:382
405条   上一页 1 ... 29 30 31 32 33 ... 41 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!