Hi everyone,
I am trying to force 4k display mode to target phones with 4k screens. It was working pretty well with Android M and I had beautiful 4k support using WindowManager.LayoutParams params = getWindow().getAttributes(); params.preferredDisplayModeId = 2; getWindow().setAttributes(params); After the Android N update it changed the behavior completely, the whole interface gets scaled way over the screen limits where I only see a portion of the screen, including the status bar and the navigation buttons on the bottom. to leave the app I need to close it from Android Studio. Any idea how to get the Android M behaviour back? -- 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 post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/4d4c833d-0aa1-4b17-9e60-ad4bf6db9b16%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.