Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67dd834a authored by Danny Baumann's avatar Danny Baumann Committed by Bruno Martins
Browse files

Allow adjusting screen density to smaller sizes.

Accomodates for 6" 1080x1920 devices that run at 480dpi by default, but
those physical resolution is ~360dpi.

Change-Id: I82973b097612f1e7d26af9fdbb3ac2ae28c6b93b
parent 865b13a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@
    <!-- Maximum density scale. The actual scale used depends on the device. -->
    <fraction name="display_density_max_scale">150%</fraction>
    <!-- Minimum density scale. This is available on all devices. -->
    <fraction name="display_density_min_scale">85%</fraction>
    <fraction name="display_density_min_scale">70%</fraction>
    <!-- Maximum density scale for external displays. -->
    <fraction name="external_display_density_max_scale">150%</fraction>
    <!-- Minimum density scale for external displays. -->
+2 −0
Original line number Diff line number Diff line
@@ -60,6 +60,8 @@ public class DisplayDensityUtils {
     * largest.
     */
    private static final int[] SUMMARIES_SMALLER = new int[]{
            R.string.screen_zoom_summary_smallest,
            R.string.screen_zoom_summary_smaller,
            R.string.screen_zoom_summary_small
    };