You cannot make a universal application with the same appearance on each device. As described by the Android developer,
xlarge screens are at least 960dp x 720dp large screens are at least 640dp x 480dp normal screens are at least 470dp x 320dp small screens are at least 426dp x 320dp
Let me select a small screen. It starts with 426dp x 320dp and up to 470dp x 320dp (before the appearance of regular screens). If we set the text and font or image for 426dp x 320dp and run the application on 469dpx320dp, then this will affect the result in some way (it should not be like both are part of a small screen). This difference increases from m-dpi to l-dpi . Therefore, we cannot remove the effect of this, but we can reduce it. If you are creating a universal application, it may not be perfect, as
Read more about densiites
source share