Assume we have two android devices with the same screen dimensions, but with different resolutions. Is the following true or not: if dp unit is used to set the sizes of all view
Yes, dp (or dip) means density independent pixel. Source
So it's independent of the pixel density of the device.