Normally in an app you want to better use the tablet screen not to take up
more room. I'm assuming this is for a game where the situation is a bit
different sometimes.
See the cn1pocker demo. It includes this:
UIManager.getInstance().setThemeProps(theme.getTheme(theme.getThemeResourceNames()[0]));
cards = Resources.open("/gamedata.res", calculateDPI());
Notice we give the target DPI explicitly which lets you determine the DPI
you want on the given device.
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/09426b02-0f79-4a2b-8be5-4722c1920ae7%40googlegroups.com.