例如,如果在列表中的每一行有一个背景,这是一个梯度,会是更好的使用渐变的图像或定义在XML的形状绘制该梯度?这两种方法之间是否存在显着的性能差异?
android image shape drawable
android ×1
drawable ×1
image ×1
shape ×1