Linked Questions

Popular Questions

I am trying to find a way to set screen zoom level just like we set brightness control and font scale. As screen zoom is available above Nougat.

ContentResolver cResolver = this.getApplicationContext().getContentResolver();
            Settings.System.putInt(cResolver, Settings.System.SCREEN_BRIGHTNESS, brightness);
            Settings.System.putFloat(cResolver, Settings.System.FONT_SCALE, (float) 10.89);

Related Questions