In our app we don't obey the display size set in native settings but follow default display size.
code to force default display density: *Configuration configuration = baseContext.getResources().getConfiguration();* *configuration.densityDpi = DisplayMetrics.DENSITY_DEVICE_STABLE;* *return baseContext.createConfigurationContext(configuration);* But still when we try to inflate layouts, it obeys display density set on native settings. Is there any way force to default display size for inflated layouts? Thanks, Pradheep -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/f8caf883-0773-4fe5-9c17-46468e9e5c53n%40googlegroups.com.