Hi. I am trying to figure out how to stretch interface assets (buttons etc.) so that they consume the same amount of screen space on every Android device. I have read both the official Google guide “Supporting Multiple Screens” (http://developer.android.com/guide/practices/screens_support.html) and the Cocos2d-x guide, “Multi Resolution Support” (http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Multi_resolution_support).
My issue is that it seems the method explained by Cocos2d-x does not take into consideration the screen density (DPI) or physical screen size of the device. So, an asset that appears large enough on a 1024x768 10" tablet will still seem very small on an Android phone that has a similar resolution but much higher DPI. I am trying to achieve the result as shown in Figure 3 on the Google guide.
Am I just not understanding the concept correctly or is it this difficult in Cocos2d-x? All of the multi resolution examples I’ve seen only consider iOS which is very simplistic by comparison to Android devices.