Failed to find style 'editTextStyle' in current theme解决办法

网上已经有解决办法了,这里我只是把它用图文的方式写一下。
请参考  http://blog.csdn.net/romaticxiaoyu/article/details/7241512
据说这几个错误都可以
Failed to find style 'textViewStyle' in current theme
Failed to find style 'editTextStyle' in current theme
Failed to find style 'buttonStyle' in current theme

现象:



图文解决办法:
layout预览界面(Graphic Layout),右上角有个Theme的选择项,默认为notitle,根据喜好随意设定值,我们这里设定为android以前默认的Theme.black.

第一步


第二步

成功了


猜你喜欢

转载自wujierd.iteye.com/blog/2114010