I'm working on an application that the client wants to has the same looks on all supporting devices. This application will support Android 4.0.3 or above for the following devices.
- mid-to-high end phone portrait (including Phablet)
- 7" tablet portrait (same layout with phone)
- 10" tablet landscape
If I create a layout like this
- layout (mid-end phone, high-end phone, phablet and 7" tablet)
- layout-sw720dp-land (for 10" tablet)
and define all the ui dimensions and drawable in
- values-sw320dp, drawable-sw320dp (most of the mid end phone)
- values-sw360dp, drawable-sw360dp (most of the high-end phone)
- values-sw480dp, drawable-sw480dp (some phablet phone like Samsung Galaxy Mega)
- values-sw600dp, drawable-sw600dp (7" tablet)
- values-sw720dp, drawable-sw720dp (10" tablet)
My questions are
- will that covering all the devices I mentioned?
- values is equal to values-sw320dp, is that correct?
- device like Samsung Galaxy Tab 2 7" has an onscreen control so its dp is actually lower than 600dp. Then, in my case, it will load values and drawables from sw480dp, is it correct?
Thank you.
sw
andsh
? Landscape vs. Portrait? There are lots of devices, so covering all of them is not a standard formula (if it were, wouldn't Google publish such a list?) – user1932079