最佳答案
来自 Android Developers: Widget Design Guidelines :
In some cases, devices have low pixel depths that can cause visual banding and dithering issues. To solve this, application developers should pass assets through a "proxy" drawable defined as XML:. This technique references the original artwork, in this case "background.9.png", and instructs the device to dither it as needed.
编辑:
示例来源。这是 res/drawables
目录中的一个 xml 文件:
<?xml version="1.0" encoding="UTF-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/title_bar_medium"
android:dither="true" />
关于Android View 抖动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2210976/