这是我的ImageView
,我有图像的位图,我想显示填充4dp的图像,但是在不同的设备上有所不同,我必须适合所有设备
我们可以采取什么调暗方式使其适合所有设备?
我正在检查两个三星设备:
我面临为其他设备设置填充的问题
<ImageView
android:id="@+id/imageview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/white"
android:padding="4dp" />