这个错误是什么意思“布局编辑器中的图形预览可能不准确:不支持Paint.setShadowLayer”? [英] What does this error means "The graphics preview in the layout editor may not be accurate: Paint.setShadowLayer is not supported"?

查看:541
本文介绍了这个错误是什么意思“布局编辑器中的图形预览可能不准确:不支持Paint.setShadowLayer”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新的使用eclipse,我刚刚创建了一个主页(菜单)与2图像按钮,但我收到这个错误:**布局编辑器中的图形预览可能不准确:
油漆.setShadowLayer不支持!

I'm new in using eclipse and I just created a home page (menu) with 2 image buttons but I am getting this error: **The graphics preview in the layout editor may not be accurate: Paint.setShadowLayer is not supported!

我正在使用 API 21

请帮助!
提前感谢。

Please help! Thanks in advance.

推荐答案

这意味着预览不知道如何实现setShadowLayer。这意味着预览不会像在设备上呈现的结果完全一样。这是您不应该相信预览应用程序的许多原因之一 - 在假设完成之前,请始终在物理设备上测试您的布局。

It means the preview doesn't know how to implement setShadowLayer. This means the preview won't look exactly like the result rendered on the device. Which is one of many reasons why you shouldn't trust the preview app- always test your layouts on a physical device before assuming they're done.

这篇关于这个错误是什么意思“布局编辑器中的图形预览可能不准确:不支持Paint.setShadowLayer”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆