相同点:都可以设置ImageView的背景。 不同点: android:src在设置ImageView的setAlpha()时有效果。 android:background在设置ImageView的setAlpha()时无效果。