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

Commit a7d461e0 authored by Xavier Ducrohet's avatar Xavier Ducrohet Committed by Android Git Automerger
Browse files

am 62d4395b: Merge change I6dc8a694 into eclair

Merge commit '62d4395b' into eclair-mr2

* commit '62d4395b':
  Layoutlib: Add a constant for default density value.
parents 70b942d3 62d4395b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,12 +20,15 @@ package com.android.layoutlib.api;
 * Represents an Android Resources that has a density info attached to it.
 */
public interface IDensityBasedResourceValue extends IResourceValue {

    public static enum Density {
        HIGH(240),
        MEDIUM(160),
        LOW(120),
        NODPI(0);

        public final static int DEFAULT_DENSITY = 160;

        private final int mValue;

        Density(int value) {