Density-specific layouts vs. size-specific layouts in Android
问题 For quite a long time, I have been declaring resource folders for 4 different densities: drawable-ldpi drawable-mdpi drawable-hdpi drawable-xhdpi In the layout's XML, I have been using fixed widths (while still density-independent) such as 128dp for those graphics. However, when more and more large-screen phones, and especially tablets, were introduced, that approach did not work anymore. Although you provide density-independent resources this way, the layout will not look good on large